Salome HOME
Update list of known failed tests from testbase
[tools/configuration.git] / config / patches / edf / scotch604_Make.inc.patch
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
4 @@ -9,9 +9,9 @@
5  CCS            = gcc
6  CCP            = mpicc
7  CCD            = gcc
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
10  CLIBFLAGS      =
11 -LDFLAGS                = -lz -lm -pthread
12 +LDFLAGS                = -lz -lm -pthread -lrt
13  CP             = cp
14  LEX            = flex -Pscotchyy -olex.yy.c
15  LN             = ln
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
19 @@ -93,11 +93,13 @@
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)
24  
25  ptscotch                       :       required
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)
30  
31  check                          :       scotch
32                                         (cd check ; $(MAKE) check)
33 @@ -105,17 +107,12 @@
34  ptcheck                                :       ptscotch
35                                         (cd check ; $(MAKE) ptcheck)
36  
37 -esmumps                                :       scotch
38 -                                       (cd esmumps ; $(MAKE) scotch && $(MAKE) install)
39 -
40 -ptesmumps                      :       ptscotch
41 -                                       (cd esmumps ; $(MAKE) ptscotch && $(MAKE) ptinstall)
42 -
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)
50  
51  clean                          :       required