You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rework: separate cpu from arch, pass LLVM CPU names directly
Instead of trying to map -march values to LLVM CPU names in CMake,
add a separate cpu parameter (Makefile) / -Cpu parameter (make.ps1)
that takes the LLVM CPU name directly. This matches the pattern
corral already uses and the existing cross_cpu in our own Makefile.
CI scripts and workflows now pass the correct LLVM CPU name for each
platform: x86-64 for x86-64, apple-m1 for macOS arm64, generic for
Linux and Windows arm64.
Copy file name to clipboardExpand all lines: .github/workflows/ponyc-weekly-checks.yml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -86,13 +86,13 @@ jobs:
86
86
run: make libs build_flags=-j8
87
87
- name: Build Debug Runtime
88
88
run: |
89
-
make configure arch=x86-64 config=debug use=${{ matrix.directives }}
89
+
make configure arch=x86-64 cpu=x86-64 config=debug use=${{ matrix.directives }}
90
90
make build config=debug
91
91
- name: Test with Debug Runtime
92
92
run: make test-ci-core config=debug usedebugger='${{ matrix.debugger }}'
93
93
- name: Build Release Runtime
94
94
run: |
95
-
make configure arch=x86-64 config=release use=${{ matrix.directives }}
95
+
make configure arch=x86-64 cpu=x86-64 config=release use=${{ matrix.directives }}
96
96
make build config=release
97
97
- name: Test with Release Runtime
98
98
run: make test-ci-core config=release usedebugger='${{ matrix.debugger }}'
@@ -143,13 +143,13 @@ jobs:
143
143
run: make libs build_flags=-j8
144
144
- name: Build Debug Runtime
145
145
run: |
146
-
ASAN_OPTIONS=detect_leaks=0:external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer UBSAN_OPTIONS=external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer make configure arch=x86-64 config=debug use=${{ matrix.directives }}
146
+
ASAN_OPTIONS=detect_leaks=0:external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer UBSAN_OPTIONS=external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer make configure arch=x86-64 cpu=x86-64 config=debug use=${{ matrix.directives }}
147
147
ASAN_OPTIONS=detect_leaks=0:external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer UBSAN_OPTIONS=external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer make build config=debug
148
148
- name: Test with Debug Runtime
149
149
run: ASAN_OPTIONS=detect_leaks=0:external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer UBSAN_OPTIONS=external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer make test-ci-core config=debug test_full_program_timeout=300
150
150
- name: Build Release Runtime
151
151
run: |
152
-
ASAN_OPTIONS=detect_leaks=0:external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer UBSAN_OPTIONS=external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer make configure arch=x86-64 config=release use=${{ matrix.directives }}
152
+
ASAN_OPTIONS=detect_leaks=0:external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer UBSAN_OPTIONS=external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer make configure arch=x86-64 cpu=x86-64 config=release use=${{ matrix.directives }}
153
153
ASAN_OPTIONS=detect_leaks=0:external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer UBSAN_OPTIONS=external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer make build config=release
154
154
- name: Test with Release Runtime
155
155
run: ASAN_OPTIONS=detect_leaks=0:external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer UBSAN_OPTIONS=external_symbolizer_path=$PWD/build/libs/bin/llvm-symbolizer make test-ci-core config=release test_full_program_timeout=300
0 commit comments