Skip to content

Commit

Permalink
Revert "fix: Build musl librav1e deploy artifacts with crt static"
Browse files Browse the repository at this point in the history
This reverts commit 9b2f8ee.
  • Loading branch information
barrbrain committed Nov 23, 2023
1 parent 0681898 commit a26f1aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ jobs:
# "cargo build" command to "cargo cinstall"
CROSS_BUILD_DOCKERFILE: ./cross/Dockerfile.libs
CARGO_TARGET_I686_UNKNOWN_LINUX_MUSL_RUSTFLAGS:
"-C target-feature=+crt-static"
"-C target-feature=-crt-static"
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS:
"-C target-feature=+crt-static"
"-C target-feature=-crt-static"
run: |
cp ~/.cargo/bin/cargo-c* $(dirname $(rustup which cargo))
cross build --target ${{ matrix.target }} --profile release-strip
Expand All @@ -269,7 +269,7 @@ jobs:
if: matrix.build == 'sdk' && matrix.target == 'x86_64-unknown-linux-musl'
env:
RUSTFLAGS:
"-C target-feature=+crt-static -C target-cpu=${{ matrix.target_cpu }}"
"-C target-feature=-crt-static -C target-cpu=${{ matrix.target_cpu }}"
run: |
cargo cinstall --target ${{ matrix.target }} \
--prefix dist \
Expand Down

0 comments on commit a26f1aa

Please sign in to comment.