@@ -63,39 +63,10 @@ jobs:
6363 # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6464 # XLA_TARGET: tpu
6565
66- macos :
67- name : " x86_64-darwin-cpu"
68- # needs: [create_draft_release]
69- runs-on : macos-13
70- steps :
71- - uses : actions/checkout@v4
72- - run : brew install elixir
73- - run : mix local.hex --force
74- # Setup the compilation environment
75- -
uses :
bazel-contrib/[email protected] 76- - uses : actions/setup-python@v5
77- with :
78- python-version : " 3.11"
79- - run : python -m pip install --upgrade pip numpy
80- # - name: Install Clang 18
81- # run: |
82- # brew update
83- # brew install llvm@18
84- # echo "/usr/local/opt/llvm@18/bin" >> $GITHUB_PATH
85- # Build and upload the archive
86- - run : mix deps.get
87- # - run: .github/scripts/compile_and_upload.sh ${{ github.ref_name }}
88- - run : XLA_BUILD=true mix compile
89- env :
90- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
91- XLA_TARGET : cpu
92- # BUILD_FLAGS: "--repo_env=BAZEL_NO_APPLE_CPP_TOOLCHAIN=1"
93- BUILD_FLAGS : " --define=xnn_enable_avxvnniint8=false"
94-
95- # macos_arm:
96- # name: "aarch64-darwin-cpu"
66+ # macos:
67+ # name: "x86_64-darwin-cpu"
9768 # # needs: [create_draft_release]
98- # runs-on: macos-14
69+ # runs-on: macos-13
9970 # steps:
10071 # - uses: actions/checkout@v4
10172 # - run: brew install elixir
@@ -106,20 +77,34 @@ jobs:
10677 # with:
10778 # python-version: "3.11"
10879 # - run: python -m pip install --upgrade pip numpy
109- # - name: Install Clang 18
110- # run: |
111- # brew update
112- # brew install llvm@18
113- # echo "/usr/local/opt/llvm@18/bin" >> $GITHUB_PATH
11480 # # Build and upload the archive
11581 # - run: mix deps.get
11682 # # - run: .github/scripts/compile_and_upload.sh ${{ github.ref_name }}
11783 # - run: XLA_BUILD=true mix compile
11884 # env:
11985 # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12086 # XLA_TARGET: cpu
121- # # One of the build steps uses local_config_apple_cc/wrapped_clang
122- # # which calls xcrun clang and points to the system clang version.
123- # # This env explicitly disables this toolchain, so that our Clang
124- # # installation is used instead.
125- # BUILD_FLAGS: "--repo_env=BAZEL_NO_APPLE_CPP_TOOLCHAIN=1"
87+ # # BUILD_FLAGS: "--repo_env=BAZEL_NO_APPLE_CPP_TOOLCHAIN=1"
88+ # BUILD_FLAGS: "--define=xnn_enable_avxvnniint8=false"
89+
90+ macos_arm :
91+ name : " aarch64-darwin-cpu"
92+ # needs: [create_draft_release]
93+ runs-on : macos-14
94+ steps :
95+ - uses : actions/checkout@v4
96+ - run : brew install elixir
97+ - run : mix local.hex --force
98+ # Setup the compilation environment
99+ -
uses :
bazel-contrib/[email protected] 100+ - uses : actions/setup-python@v5
101+ with :
102+ python-version : " 3.11"
103+ - run : python -m pip install --upgrade pip numpy
104+ # Build and upload the archive
105+ - run : mix deps.get
106+ # - run: .github/scripts/compile_and_upload.sh ${{ github.ref_name }}
107+ - run : XLA_BUILD=true mix compile
108+ env :
109+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
110+ XLA_TARGET : cpu
0 commit comments