mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-07 18:09:13 +00:00
include conda path only on Linux (if installing highs on Linux via conda)
This commit is contained in:
parent
73ed4dec68
commit
106ff79f08
1 changed files with 5 additions and 5 deletions
2
Makefile
2
Makefile
|
@ -269,12 +269,12 @@ ifeq ($(UNAME_S),Darwin)
|
|||
else ifeq ($(UNAME_S),Linux)
|
||||
MK_CPPFLAGS += -isystem /usr/local/include -isystem /usr/local/include/highs
|
||||
MK_LDFLAGS += -L/usr/local/lib -lzmq -lhighs
|
||||
endif
|
||||
|
||||
ifneq ($(CONDA_PREFIX),)
|
||||
MK_CPPFLAGS += -isystem $(CONDA_PREFIX)/include -isystem $(CONDA_PREFIX)/include/highs
|
||||
MK_LDFLAGS += -L$(CONDA_PREFIX)/lib
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef LLAMA_NO_CCACHE
|
||||
GGML_NO_CCACHE := 1
|
||||
|
|
Loading…
Add table
Reference in a new issue