Bump nim-codex and use install_name for macos

This commit is contained in:
Arnaud 2025-10-15 16:31:52 +02:00
parent cf3f305a7e
commit 1b74d71cde
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F
2 changed files with 9 additions and 3 deletions

View File

@ -69,12 +69,18 @@ jobs:
mingw-w64-ucrt-x86_64-ntldd-git
mingw-w64-ucrt-x86_64-rust
- name: Build libcodex (Linux and MacOS)
if: matrix.target.os != 'windows-latest' && steps.cache-libcodex.outputs.cache-hit != 'true'
- name: Build libcodex (Linux)
if: matrix.target.lib_ext == 'so' && steps.cache-libcodex.outputs.cache-hit != 'true'
run: |
make update
make libcodex
- name: Build libcodex (MacOS)
if: matrix.target.os == 'macos-latest' && steps.cache-libcodex.outputs.cache-hit != 'true'
run: |
make update
CODEX_LIB_PARAMS="--passL:\"-Wl,-install_name,@rpath/libs/libcodex.dylib\"" make libcodex
- name: Build libcodex (Windows)
if: matrix.target.os == 'windows-latest' && steps.cache-libcodex.outputs.cache-hit != 'true'
shell: msys2 {0}

2
vendor/nim-codex vendored

@ -1 +1 @@
Subproject commit 811faf505478c917d348035082ffbae804b8efcf
Subproject commit 1105b81cc1b202006ca5a16485b3cfc5331468d5