Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix macos slowdown and arm64 #847

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading