Skip to content

Commit a56b87e

Browse files
bokrzesifda0
authored andcommitted
[LLVM15] Switch to LLVM 15
* Switch to LLVM 15 * Adjust SPIRV-Translator paths, to make them consistent (cherry picked from commit 374a909)
1 parent 6839175 commit a56b87e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

external/llvm/llvm_preferred_version.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
#
77
#============================ end_copyright_notice =============================
88

9-
set(DEFAULT_IGC_LLVM_VERSION "14.0.5")
9+
set(DEFAULT_IGC_LLVM_VERSION "15.0.7")
10+

external/llvm/llvm_spirv_source_path.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ if (WIN32)
1414
)
1515
else()
1616
list(APPEND IGC_LLVM_SPIRV_PATHS
17-
${CMAKE_CURRENT_LIST_DIR}/../../../SPIRV-LLVM-Translator
18-
${CMAKE_CURRENT_LIST_DIR}/../../../../SPIRV-LLVM-Translator
17+
${CMAKE_CURRENT_LIST_DIR}/../../../SPIRV-LLVM-Translator_${IGC_OPTION__LLVM_PREFERRED_VERSION}
18+
${CMAKE_CURRENT_LIST_DIR}/../../../../SPIRV-LLVM-Translator_${IGC_OPTION__LLVM_PREFERRED_VERSION}
1919
)
2020
endif()
2121
list(APPEND IGC_LLVM_SPIRV_PATHS

0 commit comments

Comments
 (0)