Skip to content

Commit

Permalink
Revert "use libc++ for clang"
Browse files Browse the repository at this point in the history
This reverts commit 319bb88.
  • Loading branch information
Congyuwang committed Mar 2, 2024
1 parent 319bb88 commit 45a4078
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:
export AR=${HOMEBREW_PREFIX}/opt/llvm/bin/llvm-ar
export CFLAGS="-flto=thin -O3"
export CXXFLAGS="-flto=thin -O3"
export CXXSTDLIB="c++"
export LLD=${HOMEBREW_PREFIX}/opt/llvm/bin/ld64.lld
export RUSTFLAGS="-Clinker-plugin-lto -Clinker=$PWD/macos-linker.sh -Clink-arg=-fuse-ld=${LLD}"
maturin build --release --target aarch64-apple-darwin --out dist -i python${{ matrix.py_version }}
Expand Down Expand Up @@ -129,7 +128,6 @@ jobs:
AR: /usr/local/bin/llvm-ar
CFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3"
CXXSTDLIB: "c++"
RUSTFLAGS: "-Clinker-plugin-lto -Clinker=/usr/local/bin/clang -Clink-arg=-fuse-ld=/usr/local/bin/ld.lld"

- name: Install built wheel and test
Expand Down Expand Up @@ -171,7 +169,6 @@ jobs:
AR: /usr/local/bin/llvm-ar
CFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3"
CXXSTDLIB: "c++"
RUSTFLAGS: "-Clinker-plugin-lto -Clinker=/usr/local/bin/clang -Clink-arg=-fuse-ld=/usr/local/bin/ld.lld"
- name: Install built wheel and test
run: |
Expand Down Expand Up @@ -211,7 +208,6 @@ jobs:
AR: /usr/local/bin/llvm-ar
CFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3"
CXXSTDLIB: "c++"
RUSTFLAGS: "-Clinker-plugin-lto -Clinker=/usr/local/bin/clang -Clink-arg=-fuse-ld=/usr/local/bin/ld.lld"
- uses: uraimo/run-on-arch-action@v2
name: Install built wheel and test
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:
export AR=${HOMEBREW_PREFIX}/opt/llvm/bin/llvm-ar
export CFLAGS="-flto=thin -O3"
export CXXFLAGS="-flto=thin -O3"
export CXXSTDLIB="c++"
export LLD=${HOMEBREW_PREFIX}/opt/llvm/bin/ld64.lld
export RUSTFLAGS="-Clinker-plugin-lto -Clinker=$PWD/macos-linker.sh -Clink-arg=-fuse-ld=${LLD}"
maturin build --release --target aarch64-apple-darwin --out dist -i python${{ matrix.py_version }}
Expand Down Expand Up @@ -129,7 +128,6 @@ jobs:
AR: /usr/local/bin/llvm-ar
CFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3"
CXXSTDLIB: "c++"
RUSTFLAGS: "-Clinker-plugin-lto -Clinker=/usr/local/bin/clang -Clink-arg=-fuse-ld=/usr/local/bin/ld.lld"

- name: Install built wheel and test
Expand Down Expand Up @@ -171,7 +169,6 @@ jobs:
AR: /usr/local/bin/llvm-ar
CFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3"
CXXSTDLIB: "c++"
RUSTFLAGS: "-Clinker-plugin-lto -Clinker=/usr/local/bin/clang -Clink-arg=-fuse-ld=/usr/local/bin/ld.lld"
- name: Install built wheel and test
run: |
Expand Down Expand Up @@ -211,7 +208,6 @@ jobs:
AR: /usr/local/bin/llvm-ar
CFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3"
CXXSTDLIB: "c++"
RUSTFLAGS: "-Clinker-plugin-lto -Clinker=/usr/local/bin/clang -Clink-arg=-fuse-ld=/usr/local/bin/ld.lld"
- uses: uraimo/run-on-arch-action@v2
name: Install built wheel and test
Expand Down

0 comments on commit 45a4078

Please sign in to comment.