From de6c72eff2d6013f5af46fba1fa205654c5cf5e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20P=C3=B6chtrager?= Date: Sat, 17 Jul 2021 12:07:56 +0200 Subject: [PATCH] build_compiler_rt.sh: Install libraries and headers automatically if we have write permissions to the according directories --- build_compiler_rt.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build_compiler_rt.sh b/build_compiler_rt.sh index 508742c..4e5a6a4 100755 --- a/build_compiler_rt.sh +++ b/build_compiler_rt.sh @@ -193,6 +193,9 @@ function print_or_run() { fi } +mkdir -p ${CLANG_INCLUDE_DIR} && \ + touch ${CLANG_INCLUDE_DIR} 2>/dev/null && ENABLE_COMPILER_RT_INSTALL=1 + echo "" echo "" echo ""