Skip to content

Commit

Permalink
include gcc header search path
Browse files Browse the repository at this point in the history
  • Loading branch information
Congyuwang committed Nov 3, 2024
1 parent 1d671e1 commit afceb4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
CXX: /usr/local/bin/clang++
AR: /usr/local/bin/llvm-ar
CFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3 -I /usr/include -I /usr/lib/gcc/aarch64-alpine-linux-musl/13.2.1/include"
RUSTFLAGS: "-Clinker-plugin-lto -Clinker=/usr/local/bin/clang -Clink-arg=-fuse-ld=/usr/local/bin/ld.lld"
# https://github.com/rust-lang/rust-bindgen/issues/2360#issuecomment-2367084230
LLVM_CONFIG_PATH: /root/llvm_config.sh
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
CXX: /usr/local/bin/clang++
AR: /usr/local/bin/llvm-ar
CFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3 -I /usr/include -I /usr/lib/gcc/aarch64-alpine-linux-musl/13.2.1/include"
RUSTFLAGS: "-Clinker-plugin-lto -Clinker=/usr/local/bin/clang -Clink-arg=-fuse-ld=/usr/local/bin/ld.lld"
# https://github.com/rust-lang/rust-bindgen/issues/2360#issuecomment-2367084230
LLVM_CONFIG_PATH: /root/llvm_config.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
CXX: /usr/local/bin/clang++
AR: /usr/local/bin/llvm-ar
CFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3 -I /usr/include -I /usr/lib/gcc/aarch64-alpine-linux-musl/13.2.1/include"
RUSTFLAGS: "-Clinker-plugin-lto -Clinker=/usr/local/bin/clang -Clink-arg=-fuse-ld=/usr/local/bin/ld.lld"
# https://github.com/rust-lang/rust-bindgen/issues/2360#issuecomment-2367084230
LLVM_CONFIG_PATH: /root/llvm_config.sh
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
CXX: /usr/local/bin/clang++
AR: /usr/local/bin/llvm-ar
CFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3"
CXXFLAGS: "-flto=thin -O3 -I /usr/include -I /usr/lib/gcc/aarch64-alpine-linux-musl/13.2.1/include"
RUSTFLAGS: "-Clinker-plugin-lto -Clinker=/usr/local/bin/clang -Clink-arg=-fuse-ld=/usr/local/bin/ld.lld"
# https://github.com/rust-lang/rust-bindgen/issues/2360#issuecomment-2367084230
LLVM_CONFIG_PATH: /root/llvm_config.sh
Expand Down

0 comments on commit afceb4a

Please sign in to comment.