Skip to content

Commit

Permalink
Threads: add enable threading flag correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiran Pamnany committed Oct 27, 2015
1 parent d164587 commit 173cd22
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ endif
ifeq ($(JULIA_THREADS), 1)
LLVM_VER := svn
LLVM_GIT_URL_LLVM := https://github.com/JuliaLang/llvm.git -b jn/tls37
JULIA_ENABLE_THREADING := 1
endif

# Compiler specific stuff
Expand Down Expand Up @@ -846,6 +845,12 @@ JCPPFLAGS += -D_WIN32_WINNT=0x0502
UNTRUSTED_SYSTEM_LIBM := 1
endif

# Threads
ifeq ($(JULIA_THREADS), 1)
JCFLAGS += -DJULIA_ENABLE_THREADING
JCXXFLAGS += -DJULIA_ENABLE_THREADING

This comment has been minimized.

Copy link
@vtjnash

vtjnash Oct 28, 2015

Member

these should go in JCPPFLAGS

endif

# Intel VTune Amplifier
ifeq ($(USE_INTEL_JITEVENTS), 1)
JCPPFLAGS += -DJL_USE_INTEL_JITEVENTS
Expand Down

0 comments on commit 173cd22

Please sign in to comment.