File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -2957,16 +2957,18 @@ for host in "${ALL_HOSTS[@]}"; do
2957
2957
DEST_CXX_BUILTINS_VERSION=$( ls " $llvm_build_dir /lib/clang" | awk ' {print $0}' )
2958
2958
DEST_BUILTINS_DIR=" $llvm_build_dir /lib/clang/$DEST_CXX_BUILTINS_VERSION /lib/darwin"
2959
2959
2960
- echo " copying compiler-rt embedded builtins into the local clang build directory $DEST_BUILTINS_DIR ."
2960
+ if [ -d " $DEST_BUILTINS_DIR " ]; then
2961
+ echo " copying compiler-rt embedded builtins into the local clang build directory $DEST_BUILTINS_DIR ."
2961
2962
2962
- if [ -f " $HOST_CXX_BUILTINS_DIR /libclang_rt.ios.a" ]; then
2963
- call cp " $HOST_CXX_BUILTINS_DIR /libclang_rt.ios.a" " $DEST_BUILTINS_DIR /libclang_rt.ios.a"
2964
- fi
2965
- if [ -f " $HOST_CXX_BUILTINS_DIR /libclang_rt.watchos.a" ]; then
2966
- call cp " $HOST_CXX_BUILTINS_DIR /libclang_rt.watchos.a" " $DEST_BUILTINS_DIR /libclang_rt.watchos.a"
2967
- fi
2968
- if [ -f " $HOST_CXX_BUILTINS_DIR /libclang_rt.tvos.a" ]; then
2969
- call cp " $HOST_CXX_BUILTINS_DIR /libclang_rt.tvos.a" " $DEST_BUILTINS_DIR /libclang_rt.tvos.a"
2963
+ if [ -f " $HOST_CXX_BUILTINS_DIR /libclang_rt.ios.a" ]; then
2964
+ call cp " $HOST_CXX_BUILTINS_DIR /libclang_rt.ios.a" " $DEST_BUILTINS_DIR /libclang_rt.ios.a"
2965
+ fi
2966
+ if [ -f " $HOST_CXX_BUILTINS_DIR /libclang_rt.watchos.a" ]; then
2967
+ call cp " $HOST_CXX_BUILTINS_DIR /libclang_rt.watchos.a" " $DEST_BUILTINS_DIR /libclang_rt.watchos.a"
2968
+ fi
2969
+ if [ -f " $HOST_CXX_BUILTINS_DIR /libclang_rt.tvos.a" ]; then
2970
+ call cp " $HOST_CXX_BUILTINS_DIR /libclang_rt.tvos.a" " $DEST_BUILTINS_DIR /libclang_rt.tvos.a"
2971
+ fi
2970
2972
fi
2971
2973
fi
2972
2974
fi
You can’t perform that action at this time.
0 commit comments