Skip to content

Commit

Permalink
debugging: try blosc2-rs branch auto static for musl
Browse files Browse the repository at this point in the history
  • Loading branch information
milesgranger committed Apr 25, 2024
1 parent 3f9c3aa commit 16de80f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/CI-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,6 @@ jobs:
with:
target: ${{ matrix.conf.target-triple }}

# - uses: Swatinem/rust-cache@v2
# name: Rust Cache
# with:
# prefix-key: ${{ matrix.conf.os }}-${{ matrix.conf.manylinux }}-${{ matrix.conf.target-triple }}-${{ matrix.conf.python-architecture }}-${{ matrix.package.name }}

- name: Setup (Mac)
if: runner.os == 'macOS'
run: |
Expand Down Expand Up @@ -212,8 +207,6 @@ jobs:
mv $WORKSPACE/build/$TARGET_TRIPLE/release/build/$blosc2_sys_dir/out $BLOSC2_INSTALL_PREFIX
tree -L 2 $BLOSC2_INSTALL_PREFIX
# Redundant to do audit and tests for all python versions

# Redundant to do audit and tests for all python versions
- name: Rust Tests
if: matrix.conf.target == 'x86_64' && !startsWith(matrix.python-version, 'pypy') && matrix.python-version == '3.12'
Expand All @@ -226,7 +219,7 @@ jobs:
target: ${{ matrix.conf.target }}
manylinux: ${{ matrix.conf.manylinux }}
docker-options: -e BLOSC2_INSTALL_PREFIX=${{ github.workspace }}/blosc2 -e LD_LIBRARY_PATH=${{ github.workspace }}/blosc2/lib:${{ github.workspace }}/blosc2/lib64
args: -i ${{ matrix.python-version }} --release --out dist --manifest-path ${{ matrix.package.dir }}/Cargo.toml --features use-system-blosc2 --features blosc2-static
args: -i ${{ matrix.python-version }} --release --out dist --manifest-path ${{ matrix.package.dir }}/Cargo.toml --features use-system-blosc2
before-script-linux: ls -l $BLOSC2_INSTALL_PREFIX

- name: Build wheel (Windows)
Expand Down
2 changes: 1 addition & 1 deletion libcramjam/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ lz4 = { version = "^1", optional = true }
flate2 = { version = "^1", optional = true }
libdeflater = { version = "^1", optional = true }
libdeflate-sys = { version = "<1.20.0", optional = true } # TODO: requires gcc>=4.9 not available on Python's CI wheel builds
blosc2-rs = { git = "https://github.com/milesgranger/blosc2-rs.git", optional = true }
blosc2-rs = { git = "https://github.com/milesgranger/blosc2-rs.git", optional = true, branch = "auto-static-for-musl" }
zstd = { version = "^0.13", optional = true }
xz2 = { version = "0.1.7", features = ["static"], optional = true }

Expand Down

0 comments on commit 16de80f

Please sign in to comment.