1 diff -Naur Scotch-604/src/Make.inc/Makefile.inc.i686_pc_linux2 Scotch-604_esmumps/src/Make.inc/Makefile.inc.i686_pc_linux2
2 --- Scotch-604/src/Make.inc/Makefile.inc.i686_pc_linux2 2018-02-20 11:23:34.588586025 +0100
3 +++ Scotch-604_esmumps/src/Make.inc/Makefile.inc.i686_pc_linux2 2018-02-20 17:15:15.203967949 +0100
8 -CFLAGS = -O3 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD -Drestrict=__restrict
9 +CFLAGS = -O3 -fPIC -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD -Drestrict=__restrict
11 -LDFLAGS = -lz -lm -pthread
12 +LDFLAGS = -lz -lm -pthread -lrt
14 LEX = flex -Pscotchyy -olex.yy.c
16 diff -Naur Scotch-604EDFp1/src/Makefile Scotch-604EDFp1_esmumps/src/Makefile
17 --- Scotch-604EDFp1/src/Makefile 2018-03-30 15:37:48.930229374 +0200
18 +++ Scotch-604EDFp1_esmumps/src/Makefile 2018-03-30 15:35:09.765696046 +0200
20 (cd libscotch ; $(MAKE) VERSION=$(VERSION) RELEASE=$(RELEASE) PATCHLEVEL=$(PATCHLEVEL) scotch && $(MAKE) install)
21 (cd scotch ; $(MAKE) VERSION=$(VERSION) RELEASE=$(RELEASE) PATCHLEVEL=$(PATCHLEVEL) scotch && $(MAKE) install)
22 (cd libscotchmetis ; $(MAKE) scotch && $(MAKE) install)
23 + (cd esmumps ; $(MAKE) scotch && $(MAKE) install)
26 (cd libscotch ; $(MAKE) VERSION=$(VERSION) RELEASE=$(RELEASE) PATCHLEVEL=$(PATCHLEVEL) ptscotch && $(MAKE) ptinstall)
27 (cd scotch ; $(MAKE) VERSION=$(VERSION) RELEASE=$(RELEASE) PATCHLEVEL=$(PATCHLEVEL) ptscotch && $(MAKE) ptinstall)
28 (cd libscotchmetis ; $(MAKE) ptscotch && $(MAKE) ptinstall)
29 + (cd esmumps ; $(MAKE) ptscotch && $(MAKE) ptinstall)
32 (cd check ; $(MAKE) check)
35 (cd check ; $(MAKE) ptcheck)
38 - (cd esmumps ; $(MAKE) scotch && $(MAKE) install)
41 - (cd esmumps ; $(MAKE) ptscotch && $(MAKE) ptinstall)
43 install : required $(bindir) $(includedir) $(libdir) $(mandir)/man1
44 -$(CP) -f ../bin/[agm]*$(EXE) $(bindir)
45 -$(CP) -f ../bin/d[agm]*$(EXE) $(bindir)
46 -$(CP) -f ../include/*scotch*.h $(includedir)
47 -$(CP) -f ../lib/*scotch*$(LIB) $(libdir)
48 + -$(CP) -f ../lib/*esmumps*$(LIB) $(libdir)
49 -$(CP) -Rf ../man/* $(mandir)