Skip to content

Commit

Permalink
Use dynamic link in cn/cpu.cmake, international/cpu.cmake, internatio…
Browse files Browse the repository at this point in the history
…nal/cuda.cmake to avoid llvm15 link error (#10373)
  • Loading branch information
levi131 authored Dec 11, 2023
1 parent bc08398 commit 5d87afc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/caches/cn/cpu.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
set(BUILD_CUDA NO CACHE BOOL "")
set(BUILD_SHARED_LIBS YES CACHE BOOL "")
set(THIRD_PARTY_MIRROR aliyun CACHE STRING "")
set(PIP_INDEX_MIRROR "https://pypi.tuna.tsinghua.edu.cn/simple" CACHE STRING "")
1 change: 1 addition & 0 deletions cmake/caches/international/cpu.cmake
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
set(BUILD_CUDA NO CACHE BOOL "")
set(BUILD_SHARED_LIBS YES CACHE BOOL "")
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "")
1 change: 1 addition & 0 deletions cmake/caches/international/cuda.cmake
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
set(BUILD_CUDA YES CACHE BOOL "")
set(BUILD_SHARED_LIBS YES CACHE BOOL "")
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "")

0 comments on commit 5d87afc

Please sign in to comment.