File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1111 zig :
1212 if : github.repository_owner == 'aws'
1313 runs-on : ${{ matrix.config.host }}
14- env :
15- CFLAGS : " -fno-sanitize=all"
16- CXXFLAGS : " -fno-sanitize=all"
1714 strategy :
1815 fail-fast : false
1916 matrix :
@@ -48,10 +45,12 @@ jobs:
4845 if : matrix.os.name != 'windows-latest'
4946 shell : bash
5047 run : |
48+ echo "CFLAGS=${CFLAGS} -fno-sanitize=all"
49+ echo "CXXFLAGS=${CXXFLAGS} -fno-sanitize=all"
5150 echo "ZIGCC=${PWD}/util/zig-cc" >> $GITHUB_ENV
5251 echo "ZIGCXX=${PWD}/util/zig-c++" >> $GITHUB_ENV
5352 - name : Locate zig on Windows
54- if : matrix.os.name == 'windows-latest'
53+ if : matrix.config.host == 'windows-latest'
5554 shell : bash
5655 run : |
5756 ZIGCC="python3 $(cygpath -m $(which zigcc))"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ filter_problematic_flags() {
1616 case " $arg " in
1717 -march=armv8.4-a+sha3)
1818 # Replace the specific problematic flag with a compatible one
19- args+=(" -mcpu=generic" " -mattr= +v8.4a, +sha3" )
19+ args+=(" -mcpu=generic+v8.4a+sha3" )
2020 ;;
2121 * )
2222 # Keep all other arguments including mcpu, mtune, and other march flags
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ filter_problematic_flags() {
1616 case " $arg " in
1717 -march=armv8.4-a+sha3)
1818 # Replace the specific problematic flag with a compatible one
19- args+=(" -mcpu=generic" " -mattr= +v8.4a, +sha3" )
19+ args+=(" -mcpu=generic+v8.4a+sha3" )
2020 ;;
2121 * )
2222 # Keep all other arguments
You can’t perform that action at this time.
0 commit comments