Skip to content

Commit 5e0757f

Browse files
committed
Disable llvm-config logic due to optimistic assumption of "having the ocaml bindings". Also add NO_LLVM override make-var, for good measure.
1 parent ab3921f commit 5e0757f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ CFG_GCC_CFLAGS :=
2323
CFG_GCC_LINK_FLAGS :=
2424
CFG_VALGRIND :=
2525

26-
CFG_LLVM_CONFIG := llvm-config
26+
# Issue #102, LLVM-config logic is assuming "presence of llvm-config"
27+
# means "presence of ocaml bindings". Commenting out for now.
28+
# CFG_LLVM_CONFIG := llvm-config
29+
30+
CFG_LLVM_CONFIG :=
2731
CFG_BOOT_FLAGS := $(FLAGS)
2832

2933
ifeq ($(CFG_OSTYPE), Linux)
@@ -150,6 +154,10 @@ ifdef NO_VALGRIND
150154
CFG_VALGRIND :=
151155
endif
152156

157+
ifdef NO_LLVM
158+
CFG_LLVM_CONFIG :=
159+
endif
160+
153161
ifneq ($(CFG_LLVM_CONFIG),)
154162
CFG_LLVM_CONFIG := $(shell which $(CFG_LLVM_CONFIG))
155163
endif

0 commit comments

Comments
 (0)