Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ SPEC_SOURCES := $(shell find spec -name '*.cr')
FLAGS := $(if $(release),--release )$(if $(stats),--stats )$(if $(threads),--threads $(threads) )$(if $(debug),-d )
EXPORTS := $(if $(release),,CRYSTAL_CONFIG_PATH=`pwd`/src)
SHELL = bash
LLVM_CONFIG := $(shell command -v llvm-config-3.6 llvm-config36 llvm-config-3.5 llvm-config35 llvm-config | head -n 1)
LLVM_CONFIG := $(shell command -v llvm-config-3.8 llvm-config38 llvm-config-3.6 llvm-config36 llvm-config-3.5 llvm-config35 llvm-config | head -n 1)

This comment has been minimized.

Copy link
@jhass

jhass Jul 18, 2016

Member

Should perhaps use the same method as in #2993 (comment)

If one has say 3.8 as llvm-config but also 3.5 installed with llvm-config-3.5, this will use 3.5 instead of 3.8.

This comment has been minimized.

Copy link
@asterite

asterite Jul 18, 2016

Member

Feel free to change it :-)

I only fixed it because I couldn't compile the compiler anymore (when upgrading to LLVM 3.8)

LLVM_EXT_DIR = src/llvm/ext
LLVM_EXT_OBJ = $(LLVM_EXT_DIR)/llvm_ext.o
LIB_CRYSTAL_SOURCES = $(shell find src/ext -name '*.c')

0 comments on commit 19ddb4c

Please sign in to comment.