Skip to content

Commit 5682922

Browse files
committed
[VE] Change to not give ZLIB_LIBRARY parameter
Change to not give ZLIB_LIBRARY parameter to cmake. It will be searched by cmake automatically if the parameter is not given.
1 parent 68aa85f commit 5682922

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

clang/cmake/caches/VectorEngine.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ set(RUNTIMES_ve-unknown-linux-gnu_LIBCXXABI_USE_COMPILER_RT TRUE CACHE BOOL "")
3333
# VE uses Compiler-RT from libcxx.
3434
set(RUNTIMES_ve-unknown-linux-gnu_LIBCXX_USE_COMPILER_RT TRUE CACHE BOOL "")
3535

36-
# VE/X86 libomptarget requires host ZLIB. These may cause failures at
37-
# re-compile of OpenMP.
38-
set(RUNTIMES_x86_64-unknown-linux-gnu_ZLIB_LIBRARY "/lib/x86_64-linux-gnu/libz.so" CACHE STRING "")
39-
set(RUNTIMES_ve-unknown-linux-gnu_ZLIB_LIBRARY "/lib/x86_64-linux-gnu/libz.so" CACHE STRING "")
40-
4136
# Pretended standalone build for OpenMP since OpenMP doesn't support
4237
# LLVM_ENABLE_PER_TARGET_RUNTIME_DIR yet.
4338
set(RUNTIMES_x86_64-unknown-linux-gnu_OPENMP_STANDALONE_BUILD ON CACHE BOOL "")

0 commit comments

Comments
 (0)