From 1b74d71cdea9dd793b2e93d9df4f66dd5a4487c4 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Wed, 15 Oct 2025 16:31:52 +0200 Subject: [PATCH] Bump nim-codex and use install_name for macos --- .github/workflows/artifacts.yml | 10 ++++++++-- vendor/nim-codex | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 59efde2..17c1cd0 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -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} diff --git a/vendor/nim-codex b/vendor/nim-codex index 811faf5..1105b81 160000 --- a/vendor/nim-codex +++ b/vendor/nim-codex @@ -1 +1 @@ -Subproject commit 811faf505478c917d348035082ffbae804b8efcf +Subproject commit 1105b81cc1b202006ca5a16485b3cfc5331468d5