Skip to content

Commit

Permalink
[build] Support any 13<clang<=15 as CLANG_EXECUTABLE on macOS (taichi…
Browse files Browse the repository at this point in the history
  • Loading branch information
ailzhang authored Nov 21, 2022
1 parent a51c481 commit fc5b498
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ endmacro()

if (APPLE)
set(CLANG_OSX_FLAGS "-isysroot${CMAKE_OSX_SYSROOT}")
set(CLANG_HIGHEST_VERSION "13")
else()
set(CLANG_HIGHEST_VERSION "15")
endif()

# Highest clang version that we've tested
set(CLANG_HIGHEST_VERSION "15")

check_clang_version()

if (${CLANG_VERSION_MAJOR} VERSION_GREATER ${CLANG_HIGHEST_VERSION})
Expand Down
2 changes: 1 addition & 1 deletion external/SPIRV-Tools
Submodule SPIRV-Tools updated 135 files

0 comments on commit fc5b498

Please sign in to comment.