Windows scotch decomposition build fix
This commit is contained in:
parent
7a2e4bce20
commit
e1b0c33611
2 changed files with 4 additions and 3 deletions
5
ThirdParty/mingwBuild/build.sh
vendored
5
ThirdParty/mingwBuild/build.sh
vendored
|
@ -151,13 +151,14 @@ build_library() {
|
|||
|
||||
system)
|
||||
cd $INSTALL_DIR
|
||||
patch system
|
||||
patch $PACKAGE
|
||||
;;
|
||||
|
||||
pthreads-w32-2-9-1-release)
|
||||
download $PACKAGE.zip ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip > $LOG_FILE 2>&1
|
||||
unzip_dir $PACKAGE >> $LOG_FILE 2>&1
|
||||
patch $PACKAGE
|
||||
mv $PACKAGE $INSTALL_DIR
|
||||
;;
|
||||
|
||||
metis-5.1.0)
|
||||
|
@ -222,7 +223,7 @@ build_library() {
|
|||
;;
|
||||
|
||||
scotch_6.0.4)
|
||||
export PTHREADS_HOME=$BUILD_DIR/pthreads-w32-2-9-1-release
|
||||
export PTHREADS_HOME=$INSTALL_DIR/pthreads-w32-2-9-1-release
|
||||
download $PACKAGE.tar.gz https://gforge.inria.fr/frs/download.php/34618 > $LOG_FILE 2>&1
|
||||
extract "$PACKAGE.tar.gz" gzip >> $LOG_FILE 2>&1
|
||||
patch $PACKAGE
|
||||
|
|
|
@ -46,7 +46,7 @@ LDFLAGS += -L$(MPI_ROOTDIR)/bin -lm -lmpi -lmpid
|
|||
#PTHREAD_ROOTDIR = $(PGMFILES)/pthread-win32
|
||||
#CFLAGS_INC += -I$(PTHREAD_ROOTDIR)/include
|
||||
#CLIBFLAGS =
|
||||
LDFLAGS += -L$(PTHREADS_HOME)/Pre-built.2/lib/x64 -lpthread
|
||||
LDFLAGS += -L$(PTHREADS_HOME)/Pre-built.2/lib/x64 -lpthreadGC2
|
||||
|
||||
#--- zlib: Uncomment for compressed files
|
||||
#ZLIB_ROOTDIR = $(PGMFILES)/zlib-1.2.3
|
||||
|
|
Reference in a new issue