Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mavenlin committed Dec 4, 2023
1 parent 37dd0ff commit 76495a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
build --copt=-g0 --copt=-O3 --copt=-DNDEBUG

build:linux --action_env=BAZEL_LINKLIBS=-l%:libstdc++.a:-lm
build:linux --action_env=BAZEL_LINKOPTS=-static-libgcc
build:linux --define os=linux --define cpu=x86_64

build:macos_x86_64 --define os=macos --define cpu=x86_64
build:macos_arm64 --define os=macos --define cpu=arm64
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
- name: Setup and Build
run: |
pip install -r requirements.txt
bazel build --cpu=x86_64 --os=macos @maple2jax//:jax_xc_wheel
bazel build --config=macos_x86_64 @maple2jax//:jax_xc_wheel

0 comments on commit 76495a8

Please sign in to comment.