Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasLYang committed Mar 10, 2023
1 parent e86c06b commit 64e933e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ turborepo-ffi-darwin-amd64:

.PHONY: turborepo-ffi-linux-arm64
turborepo-ffi-linux-arm64:
cd ../crates/turborepo-ffi && CC="zig cc -target aarch64-linux-musl" LD_LIBRARY_PATH=../../cli/internal/ffi cargo build -Zbuild-std=panic_abort,std --release --target-dir ./target --target aarch64-unknown-linux-musl
cd ../crates/turborepo-ffi && CC=zig cc -target aarch64-linux-musl cargo build --release --target-dir ./target --target aarch64-unknown-linux-musl

.PHONY: turborepo-ffi-linux-amd64
turborepo-ffi-linux-amd64:
Expand Down
1 change: 1 addition & 0 deletions cli/cross-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ builds:
overrides:
- goos: linux
goarch: arm64
ldflags: -linkmode external -extldflags="-static" -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -X main.builtBy=goreleaser
env:
- CC=zig cc -target aarch64-linux-musl -L/usr/aarch64-linux-musl/lib
- CXX=zig c++ -target aarch64-linux-musl
Expand Down

0 comments on commit 64e933e

Please sign in to comment.