Skip to content

Commit

Permalink
Add GraphBLAS Makefile target for static compilation only (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreylovitz authored and swilly22 committed Oct 20, 2018
1 parent 87fde52 commit 5f3f4c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions deps/GraphBLAS/Makefile
Expand Up @@ -21,6 +21,9 @@ library:
# the same as "make library"
static: library

static_only:
( cd build ; cmake $(CMAKE_OPTIONS) .. ; $(MAKE) graphblas_static )

# installs GraphBLAS to the install location defined by cmake, usually
# /usr/local/lib and /usr/local/include
install:
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile
Expand Up @@ -84,7 +84,7 @@ $(LIBTRIEMAP):
.PHONY: $(LIBTRIEMAP)

$(GRAPHBLAS):
$(MAKE) CMAKE_OPTIONS="-DCMAKE_CXX_FLAGS=-std=c++11" library -C ../deps/GraphBLAS
$(MAKE) CMAKE_OPTIONS="-DCMAKE_CXX_FLAGS=-std=c++11" static_only -C ../deps/GraphBLAS

.PHONY: $(GRAPHBLAS)

Expand Down

0 comments on commit 5f3f4c9

Please sign in to comment.