diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2024-02-29 23:39:18 +0100 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2024-02-29 23:39:18 +0100 |
| commit | 23cd64ec357d4ba66476878dbe6cc63f71dac0a9 (patch) | |
| tree | 6b6b41ab2de1c2c1fd3105d80513c8b57e746d34 /.github | |
| parent | 17b1c8d338ac9f6b6bdef2cf32fd472212b515e9 (diff) | |
reduce dynamic library dependencies for macos release
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/nightly.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 0a344ebf1..709f968a7 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -83,7 +83,9 @@ jobs: TMP_PATH=$(xcrun --show-sdk-path)/user/include echo "CPATH=$TMP_PATH" >> $GITHUB_ENV - name: build odin - run: make nightly + # These -L makes the linker prioritize system libraries over LLVM libraries, this is mainly to + # not link with libunwind bundled with LLVM but link with libunwind on the system. + run: CXXFLAGS="-L/usr/lib/system -L/usr/lib" make nightly - name: Bundle run: | mkdir dist @@ -117,7 +119,9 @@ jobs: TMP_PATH=$(xcrun --show-sdk-path)/user/include echo "CPATH=$TMP_PATH" >> $GITHUB_ENV - name: build odin - run: make nightly + # These -L makes the linker prioritize system libraries over LLVM libraries, this is mainly to + # not link with libunwind bundled with LLVM but link with libunwind on the system. + run: CXXFLAGS="-L/usr/lib/system -L/usr/lib" make nightly - name: Bundle run: | mkdir dist |