Skip to content

Commit

Permalink
allow for brew installed llvm on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
wbbradley committed Sep 14, 2018
1 parent 71f28ad commit 28a7c48
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
LLVM_DIR=$(HOME)/opt/llvm/release_40/MinSizeRel
# LLVM_DIR=$(HOME)/opt/llvm/release_40/MinSizeRel
LLVM_DIR=/usr/local/Cellar/llvm@4/4.0.1
ZION=$(HOME)/var/zion/zion

zion:
mkdir -p $(HOME)/var/zion
(cd $(HOME)/var/zion && \
make -j8 2>&1)

Expand All @@ -17,6 +19,9 @@ clean:
clean-zion: clean
make zion

test: clean-zion
clean-test: clean-zion
make test

test:
$(ZION) test
./expect-tests.sh $(HOME)/var/zion

0 comments on commit 28a7c48

Please sign in to comment.