Skip to content

Commit

Permalink
remove icpc currently due to issues on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtuck committed Dec 17, 2019
1 parent 7b662b8 commit d98a9ce
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
12 changes: 6 additions & 6 deletions deps/src/fdaqmap/Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
.PHONY : clean

ERR = $(shell which icpc>/dev/null; echo $$?)
ifeq "$(ERR)" "0"
CXX = icpc
CFLAGS = -fPIC -O3 -g # C flags
LDFLAGS = -shared # linking flags
else
#ifeq "$(ERR)" "0"
# CXX = icpc
# CFLAGS = -fPIC -O3 -g # C flags
# LDFLAGS = -shared # linking flags
#else
CFLAGS = -fPIC -std=c++11 -O3 -g # C flags
LDFLAGS = -shared # linking flags
endif
#endif

LIB=fdaqmap
SUFFIX=so
Expand Down
28 changes: 14 additions & 14 deletions deps/src/gropt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@
OS := $(shell uname)
ERR = $(shell which icpc>/dev/null; echo $$?)
ifeq "$(OS)" "Darwin"
ifeq "$(ERR)" "0"
CXX = icpc
CFLAGS = -fPIC -std=c++11 -O3 -g -mkl
LDFLAGS = -shared
LIBS = -lmkl_rt -lpthread
else
# ifeq "$(ERR)" "0"
# CXX = icpc
# CFLAGS = -fPIC -std=c++11 -O3 -g -mkl
# LDFLAGS = -shared
# LIBS = -lmkl_rt -lpthread
# else
CFLAGS = -fPIC -std=c++11 -O3 -g # C flags
LDFLAGS = -shared # linking flags
LIBS = -lblas -llapack
endif
# endif
else
ifeq "$(ERR)" "0"
CXX = icpc
CFLAGS = -fPIC -O3 -g # C flags
LDFLAGS = -shared # linking flags
LIBS = -lmkl_rt -lpthread
else
# ifeq "$(ERR)" "0"
# CXX = icpc
# CFLAGS = -fPIC -O3 -g # C flags
# LDFLAGS = -shared # linking flags
# LIBS = -lmkl_rt -lpthread
# else
CFLAGS = -fPIC -std=c++11 -O3 -g -L./destdir/lib # C flags
LDFLAGS = -shared # linking flags
LIBS = -lopenblas64_
endif
# endif
endif

LIB=gropt
Expand Down

0 comments on commit d98a9ce

Please sign in to comment.