2019-04-24 17:08:10 +00:00
|
|
|
diff -up scotch_6.0.6/src/esmumps/Makefile.ldflags scotch_6.0.6/src/esmumps/Makefile
|
|
|
|
--- scotch_6.0.6/src/esmumps/Makefile.ldflags 2018-07-14 09:24:49.000000000 -0600
|
|
|
|
+++ scotch_6.0.6/src/esmumps/Makefile 2019-04-12 12:29:40.901976055 -0600
|
|
|
|
@@ -148,7 +148,7 @@ libesmumps$(LIB) : graph_graph$(OBJ)
|
|
|
|
esmumps$(OBJ) \
|
|
|
|
esmumps_f$(OBJ) \
|
|
|
|
esmumps_strats$(OBJ)
|
|
|
|
- $(AR) $(ARFLAGS) $(@) $(?)
|
|
|
|
+ $(AR) $(ARFLAGS) $(@) $(?) $(LDFLAGS) -L ../libscotch -lscotch
|
|
|
|
-$(RANLIB) $(@)
|
|
|
|
|
|
|
|
main_esmumps$(EXE) : main_esmumps.c \
|
2018-12-17 03:03:09 +00:00
|
|
|
diff -up scotch_6.0.6/src/libscotch/Makefile.ldflags scotch_6.0.6/src/libscotch/Makefile
|
|
|
|
--- scotch_6.0.6/src/libscotch/Makefile.ldflags 2018-07-14 09:24:49.000000000 -0600
|
2019-04-24 17:08:10 +00:00
|
|
|
+++ scotch_6.0.6/src/libscotch/Makefile 2019-04-12 12:29:31.310136618 -0600
|
|
|
|
@@ -3064,26 +3064,26 @@
|
|
|
|
library_pt_f.h
|
2018-12-17 03:03:09 +00:00
|
|
|
./ptdummysizes$(EXE) "-s$(SCOTCH_NAME_SUFFIX)" library_pt_f.h ptscotchf.h
|
|
|
|
|
2019-04-24 17:08:10 +00:00
|
|
|
-libscotch$(LIB) : $(LIBSCOTCHDEPS)
|
2018-12-17 03:03:09 +00:00
|
|
|
- $(AR) $(ARFLAGS) $(@) $(?)
|
2019-04-24 17:08:10 +00:00
|
|
|
+libscotch$(LIB) : $(LIBSCOTCHDEPS) libscotcherr$(LIB)
|
|
|
|
+ $(AR) $(ARFLAGS) $(@) $(?) $(LDFLAGS) -L . -lscotcherr
|
2018-12-17 03:03:09 +00:00
|
|
|
-$(RANLIB) $(@)
|
|
|
|
|
|
|
|
libscotcherr$(LIB) : library_error$(OBJ)
|
|
|
|
- $(AR) $(ARFLAGS) $(@) $(?)
|
|
|
|
+ $(AR) $(ARFLAGS) $(@) $(?) $(LDFLAGS)
|
|
|
|
-$(RANLIB) $(@)
|
|
|
|
|
|
|
|
libscotcherrexit$(LIB) : library_error_exit$(OBJ)
|
|
|
|
- $(AR) $(ARFLAGS) $(@) $(?)
|
|
|
|
+ $(AR) $(ARFLAGS) $(@) $(?) $(LDFLAGS)
|
|
|
|
-$(RANLIB) $(@)
|
|
|
|
|
2019-04-24 17:08:10 +00:00
|
|
|
-libptscotch$(LIB) : $(LIBPTSCOTCHDEPS)
|
2018-12-17 03:03:09 +00:00
|
|
|
- $(AR) $(ARFLAGS) $(@) $(?)
|
2019-04-24 17:08:10 +00:00
|
|
|
+libptscotch$(LIB) : $(LIBPTSCOTCHDEPS) libscotch$(LIB)
|
|
|
|
+ $(AR) $(ARFLAGS) $(@) $(?) $(LDFLAGS) -L . -lscotch
|
2018-12-17 03:03:09 +00:00
|
|
|
-$(RANLIB) $(@)
|
|
|
|
|
|
|
|
libptscotcherr$(LIB) : library_error_pt$(OBJ)
|
|
|
|
- $(AR) $(ARFLAGS) $(@) $(?)
|
|
|
|
+ $(AR) $(ARFLAGS) $(@) $(?) $(LDFLAGS)
|
|
|
|
-$(RANLIB) $(@)
|
|
|
|
|
|
|
|
libptscotcherrexit$(LIB) : library_error_exit_pt$(OBJ)
|
|
|
|
- $(AR) $(ARFLAGS) $(@) $(?)
|
|
|
|
+ $(AR) $(ARFLAGS) $(@) $(?) $(LDFLAGS)
|
|
|
|
-$(RANLIB) $(@)
|
|
|
|
diff -up scotch_6.0.6/src/libscotchmetis/Makefile.ldflags scotch_6.0.6/src/libscotchmetis/Makefile
|
|
|
|
--- scotch_6.0.6/src/libscotchmetis/Makefile.ldflags 2018-07-14 09:24:49.000000000 -0600
|
2019-04-24 17:08:10 +00:00
|
|
|
+++ scotch_6.0.6/src/libscotchmetis/Makefile 2019-04-12 12:31:07.100533120 -0600
|
2018-12-17 03:03:09 +00:00
|
|
|
@@ -139,12 +139,12 @@ libptscotchparmetis$(LIB) : parmetis_dgr
|
|
|
|
parmetis_dgraph_order_f$(OBJ) \
|
|
|
|
parmetis_dgraph_part$(OBJ) \
|
|
|
|
parmetis_dgraph_part_f$(OBJ)
|
|
|
|
- $(AR) $(ARFLAGS) $(@) $(^)
|
2019-04-24 17:08:10 +00:00
|
|
|
+ $(AR) $(ARFLAGS) $(@) $(^) $(LDFLAGS) -L ../libscotch -lptscotch
|
2018-12-17 03:03:09 +00:00
|
|
|
-$(RANLIB) $(@)
|
|
|
|
|
|
|
|
libscotchmetis$(LIB) : metis_graph_order$(OBJ) \
|
|
|
|
metis_graph_order_f$(OBJ) \
|
|
|
|
metis_graph_part$(OBJ) \
|
|
|
|
metis_graph_part_f$(OBJ)
|
|
|
|
- $(AR) $(ARFLAGS) $(@) $(^)
|
2019-04-24 17:08:10 +00:00
|
|
|
+ $(AR) $(ARFLAGS) $(@) $(^) $(LDFLAGS) -L ../libscotch -lscotch
|
2018-12-17 03:03:09 +00:00
|
|
|
-$(RANLIB) $(@)
|