Skip to content

Commit 585ed31

Browse files
committed
delete this commit
1 parent 8d1f3dc commit 585ed31

File tree

3 files changed

+19
-36
lines changed

3 files changed

+19
-36
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,21 +63,24 @@ jobs:
6363
ls -lah
6464
whoami
6565
env
66+
67+
echo "patch Cargo.toml (yes, this is gross)"
68+
sed -i -e 's/# bindgen/bindgen/' Cargo.toml
69+
6670
echo "apk add:"
6771
apk upgrade
6872
apk add musl-dev gcc make cmake clang clang-libclang llvm build-base python3-dev
6973
export CARGO_BUILD_TARGET="x86_64-unknown-linux-musl"
70-
ln -s /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/crtbeginS.o /usr/lib
71-
ln -s /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/crtendS.o /usr/lib
72-
ln -s /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/libgcc.a /usr/lib
74+
# ln -s /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/crtbeginS.o /usr/lib
75+
# ln -s /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/crtendS.o /usr/lib
76+
# ln -s /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/libgcc.a /usr/lib
7377
rustup target add x86_64-unknown-linux-musl
7478
75-
echo "patch Cargo.toml (yes, this is gross)"
76-
sed -i -e 's/# bindgen/bindgen/' Cargo.toml
7779
echo "create venv:"
7880
python3 -m venv .env
79-
. .env/bin/activate && pip install -r requirements.txt
80-
. .env/bin/activate && pip install patchelf
81+
. .env/bin/activate
82+
pip install -r requirements.txt
83+
pip install patchelf
8184
if [ "${SHOULD_PUBLISH}" == 'true' ]; then
8285
echo "~~~~ maturin publishing"
8386
. .env/bin/activate && maturin publish --no-sdist -u __token__ -p ${{ secrets.MATURIN_PASSWORD }}

Cargo.lock

Lines changed: 2 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

llvm-config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
if [ "$1" = "--libs" ]; then
4+
/usr/bin/llvm-config "$@" "--link-static"
5+
else
6+
/usr/bin/llvm-config "$@"
7+
fi

0 commit comments

Comments
 (0)