Skip to content

Commit

Permalink
Merge pull request #847 from xmos/macbuildfix
Browse files Browse the repository at this point in the history
Fix macos slowdown and arm64
  • Loading branch information
panickal-xmos authored Oct 26, 2023
2 parents 14b2d56 + 9d097cd commit 9fd4739
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
mkdir -p build
cd build
cmake ..
cmake --build . -t install --parallel --config Release
cmake --build . -t install --parallel 3 --config Release
- name: Build xformer
shell: bash
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
mkdir -p build
cd build
cmake ..
cmake --build . -t install --parallel --config Release
cmake --build . -t install --parallel 2 --config Release
- name: Build xformer
shell: cmd
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ jobs:
mkdir -p build
cd build
cmake ..
cmake --build . -t install --parallel --config Release
cmake --build . -t install --parallel 2 --config Release
cd %GITHUB_WORKSPACE%/xformer
set BAZEL_VC=C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC
Expand Down
3 changes: 1 addition & 2 deletions python/xmos_ai_tools/xinterpreters/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ endif()


if(DEFINED ENV{CMAKE_ENABLE_DARWIN_TARGET_ARM64})
set(CMAKE_OSX_ARCHITECTURES "arm64"
CACHE STRING "The list of target architectures to build")
set(BUILD_FLAGS ${BUILD_FLAGS} "-target" "arm64-apple-macos11")
endif()

set(TOP_DIR
Expand Down

0 comments on commit 9fd4739

Please sign in to comment.