mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-07 16:03:13 +00:00
[wip] allow enough flexibility in env/make vars so e.g. can use Homebrew clang on macOS
This commit is contained in:
parent
04390adae5
commit
19e552fef7
6
Makefile
6
Makefile
@ -96,14 +96,16 @@ NIM_PARAMS += --passC:"-I$(shell dirname $(LIBLEOPARD_HEADER))" --passL:"$(LIBLE
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(detected_OS),macOS)
|
ifneq ($(detected_OS),macOS)
|
||||||
NIM_PARAMS += --passL:"-fopenmp"
|
NIM_PARAMS += --passL:-fopenmp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
NIM_PARAMS += $(NIM_EXTRA_PARAMS)
|
||||||
|
|
||||||
$(LIBLEOPARD):
|
$(LIBLEOPARD):
|
||||||
cd vendor/leopard && \
|
cd vendor/leopard && \
|
||||||
mkdir -p build && cd build && \
|
mkdir -p build && cd build && \
|
||||||
cmake .. $(LIBLEOPARD_CMAKE_FLAGS) && \
|
cmake .. $(LIBLEOPARD_CMAKE_FLAGS) && \
|
||||||
$(MAKE)
|
$(MAKE) libleopard
|
||||||
|
|
||||||
leopard: $(LIBLEOPARD)
|
leopard: $(LIBLEOPARD)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user