[compiler-rt] [build_symbolizer] Introduce ZLIB_SRC to specify an on-disk location for (PR #70994)
    Hongtao Yu via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Nov  1 16:29:18 PDT 2023
    
    
  
================
@@ -63,7 +71,15 @@ FLAGS+=" -include ${SRC_DIR}/../sanitizer_redefine_builtins.h -DSANITIZER_COMMON
 LINKFLAGS="-fuse-ld=lld -target $TARGET_TRIPLE"
 
 # Build zlib.
-[[ -d ${ZLIB_BUILD} ]] || git clone https://github.com/madler/zlib ${ZLIB_BUILD}
+if [[ -d ${ZLIB_BUILD} ]]; then
----------------
htyu wrote:
Should this be `if [[ ! -d ${ZLIB_BUILD} ]]` ?
https://github.com/llvm/llvm-project/pull/70994
    
    
More information about the llvm-commits
mailing list