Skip to content

Commit

Permalink
Fix msys path and cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
panickal-xmos committed Nov 7, 2023
1 parent 0c7e370 commit 34c6b22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ jobs:
with:
msystem: mingw64
update: true
install: mingw-w64-x86_64-toolchain mingw-w64-x86_64-clang mingw-w64-x86_64-llvm mingw-w64-x86_64-lld
release: false
install: mingw-w64-x86_64-clang mingw-w64-x86_64-llvm mingw-w64-x86_64-lld
- name: Build setup
shell: cmd
run: |
Expand Down
2 changes: 1 addition & 1 deletion python/xmos_ai_tools/xinterpreters/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOS
#**********************
# Build flags
#**********************
if (${CMAKE_SYSTEM_NAME} MATCHES "Windows")
if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
set(BUILD_FLAGS "/O2")
else()
set(BUILD_FLAGS
Expand Down

0 comments on commit 34c6b22

Please sign in to comment.