We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 179cd53 commit 75f5a0bCopy full SHA for 75f5a0b
build.sh
@@ -2,9 +2,12 @@
2
set -euxo
3
source config.sh
4
5
-WORKING_DIR="$(pwd)/build"
6
-mkdir -p "$WORKING_DIR"
7
-
+export OPENSSL_STATIC=1
+export OPENSSL_DIR=/usr/local/opt/openssl
+if [ ! -d "$OPENSSL_DIR" ]; then
8
+ echo "OpenSSL not found at expected location. Try: brew install openssl"
9
+ exit 1
10
+fi
11
if ! which ninja; then
12
echo "ninja not found. Try: brew install ninja"
13
exit 1
@@ -14,6 +17,9 @@ if ! which cmake; then
14
17
15
18
fi
16
19
20
+WORKING_DIR="$(pwd)/build"
21
+mkdir -p "$WORKING_DIR"
22
+
23
cd "$WORKING_DIR"
24
if [ ! -d "$WORKING_DIR/llvm-project" ]; then
25
git clone https://github.com/apple/llvm-project.git
0 commit comments