From 26cb4bc7702d5f97f3906e1b0f143aa6d692e653 Mon Sep 17 00:00:00 2001 From: Jiri Kalvoda <jirikalvoda@kam.mff.cuni.cz> Date: Wed, 30 Aug 2023 20:54:21 +0200 Subject: [PATCH] SDPA-C fix missing dir in make --- sdpa-c/Makefile | 1 + sdpa-c/SuiteSparse_src/GraphBLAS/Makefile | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sdpa-c/Makefile b/sdpa-c/Makefile index 15d87466e..54209a9f5 100644 --- a/sdpa-c/Makefile +++ b/sdpa-c/Makefile @@ -59,6 +59,7 @@ $(mumps_lib): rm -rf mumps; \ cp -r MUMPS_5.1.2_src/ $(mumps_dir); \ cd $(mumps_dir); \ + mkdir lib; \ cp Make.inc/Makefile.inc.generic.SEQ Makefile.inc; \ echo "CC = " $(CC) >> Makefile.inc; \ echo "FC = " $(FC) >> Makefile.inc; \ diff --git a/sdpa-c/SuiteSparse_src/GraphBLAS/Makefile b/sdpa-c/SuiteSparse_src/GraphBLAS/Makefile index d678cdd50..a657c60ec 100644 --- a/sdpa-c/SuiteSparse_src/GraphBLAS/Makefile +++ b/sdpa-c/SuiteSparse_src/GraphBLAS/Makefile @@ -12,11 +12,11 @@ # build the GraphBLAS library (static and dynamic) and run a quick test default: - ( cd build ; cmake $(CMAKE_OPTIONS) .. ; $(MAKE) ; cd ../Demo ; ./demo ) + ( mkdir -p build; cd build ; cmake $(CMAKE_OPTIONS) .. ; $(MAKE) ; cd ../Demo ; ./demo ) # just build the static and dynamic libraries; do not run the demo library: - ( cd build ; cmake $(CMAKE_OPTIONS) .. ; $(MAKE) ) + ( mkdir -p build; cd build ; cmake $(CMAKE_OPTIONS) .. ; $(MAKE) ) # the same as "make library" static: library @@ -24,7 +24,7 @@ static: library # installs GraphBLAS to the install location defined by cmake, usually # /usr/local/lib and /usr/local/include install: - ( cd build ; cmake $(CMAKE_OPTIONS) .. ; $(MAKE) ; $(MAKE) install ) + ( mkdir -p build; cd build ; cmake $(CMAKE_OPTIONS) .. ; $(MAKE) ; $(MAKE) install ) # create the Doc/GraphBLAS_UserGuide.pdf docs: -- GitLab