Skip to content

Commit

Permalink
🔧(CI): Macos dynamic linking
Browse files Browse the repository at this point in the history
  • Loading branch information
Isotr0py committed Mar 11, 2024
1 parent 643a016 commit abdc60f
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,25 +191,25 @@ jobs:
with:
architecture: ${{ matrix.target }}

# - name: Build libjxl
# run: |
# brew install ninja
# git clone --recurse-submodules --depth 1 -b v0.10.2 https://github.com/libjxl/libjxl.git
# cd libjxl
# cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF \
# -DJPEGXL_ENABLE_TOOLS=OFF -DJPEGXL_ENABLE_DOXYGEN=OFF -DJPEGXL_ENABLE_MANPAGES=OFF \
# -DJPEGXL_ENABLE_BENCHMARKS=OFF -DJPEGXL_ENABLE_EXAMPLES=OFF -DJPEGXL_ENABLE_JNI=OFF \
# -DJPEGXL_ENABLE_SJPEG=OFF -DJPEGXL_ENABLE_OPENEXR=OFF
# cmake --build build
- name: Build libjxl
run: |
brew install ninja
git clone --recurse-submodules --depth 1 -b v0.10.2 https://github.com/libjxl/libjxl.git
cd libjxl
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF \
-DJPEGXL_ENABLE_TOOLS=OFF -DJPEGXL_ENABLE_DOXYGEN=OFF -DJPEGXL_ENABLE_MANPAGES=OFF \
-DJPEGXL_ENABLE_BENCHMARKS=OFF -DJPEGXL_ENABLE_EXAMPLES=OFF -DJPEGXL_ENABLE_JNI=OFF \
-DJPEGXL_ENABLE_SJPEG=OFF -DJPEGXL_ENABLE_OPENEXR=OFF
cmake --build build
- name: Build wheels
uses: PyO3/maturin-action@v1
env:
RUST_BACKTRACE: 1
MACOSX_DEPLOYMENT_TARGET: 12.7
# DEP_JXL_LIB: ${{ github.workspace }}/libjxl/build/lib
# DEP_BROTLI_LIB: ${{ github.workspace }}/libjxl/build/third_party/brotli
# DEP_HWY_LIB: ${{ github.workspace }}/libjxl/build/third_party/highway
DEP_JXL_LIB: ${{ github.workspace }}/libjxl/build/lib
DEP_BROTLI_LIB: ${{ github.workspace }}/libjxl/build/third_party/brotli
DEP_HWY_LIB: ${{ github.workspace }}/libjxl/build/third_party/highway
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter --features dynamic
Expand Down

0 comments on commit abdc60f

Please sign in to comment.