ThirdParty: fixing compilation of package Scotch
This commit is contained in:
parent
062cac462c
commit
5cecbd600b
1 changed files with 6 additions and 4 deletions
|
@ -25,9 +25,9 @@ diff -ruN scotch_5.1.10b_orig/src/Make.inc/Makefile.inc.i686_mac_darwin10.shlib
|
||||||
+RANLIB = ranlib
|
+RANLIB = ranlib
|
||||||
+YACC = bison -y
|
+YACC = bison -y
|
||||||
diff -ruN scotch_5.1.10b_orig/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib scotch_5.1.10b/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib
|
diff -ruN scotch_5.1.10b_orig/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib scotch_5.1.10b/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib
|
||||||
--- scotch_5.1.10b_orig/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib 2010-08-07 03:02:42.000000000 -0400
|
--- scotch_5.1.10b_orig/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib 2010-08-07 00:02:42.000000000 -0700
|
||||||
+++ scotch_5.1.10b/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib 2010-10-31 15:50:53.000000000 -0400
|
+++ scotch_5.1.10b/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib 2013-07-19 17:15:56.638402200 -0700
|
||||||
@@ -4,13 +4,13 @@
|
@@ -4,14 +4,14 @@
|
||||||
|
|
||||||
MAKE = make
|
MAKE = make
|
||||||
AR = gcc
|
AR = gcc
|
||||||
|
@ -39,9 +39,11 @@ diff -ruN scotch_5.1.10b_orig/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib sco
|
||||||
-CCD = gcc
|
-CCD = gcc
|
||||||
-CFLAGS = -O3 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -DSCOTCH_PTHREAD -Drestrict=__restrict
|
-CFLAGS = -O3 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -DSCOTCH_PTHREAD -Drestrict=__restrict
|
||||||
-CLIBFLAGS = -shared -fPIC
|
-CLIBFLAGS = -shared -fPIC
|
||||||
|
-LDFLAGS = -lz -lm -lrt
|
||||||
+CCD = mpicc -I$(MPI_HOME)/include
|
+CCD = mpicc -I$(MPI_HOME)/include
|
||||||
+CFLAGS = -O3 -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -DSCOTCH_PTHREAD -Drestrict=__restrict
|
+CFLAGS = -O3 -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -DSCOTCH_PTHREAD -Drestrict=__restrict
|
||||||
+CLIBFLAGS = -shared
|
+CLIBFLAGS = -shared
|
||||||
LDFLAGS = -lz -lm -lrt
|
+LDFLAGS = -lpthread -lz -lm -lrt
|
||||||
CP = cp
|
CP = cp
|
||||||
LEX = flex -Pscotchyy -olex.yy.c
|
LEX = flex -Pscotchyy -olex.yy.c
|
||||||
|
LN = ln
|
||||||
|
|
Reference in a new issue