parent
f42b8fda25
commit
e61891ed25
@ -1,11 +1,11 @@
|
||||
--- a/SRC/CMakeLists.orig.txt 2018-04-25 15:17:39.786715000 +0200
|
||||
+++ b/SRC/CMakeLists.txt 2018-04-25 15:25:00.253317607 +0200
|
||||
@@ -230,7 +230,7 @@
|
||||
|
||||
target_link_libraries(superlu ${BLAS_LIB} m)
|
||||
@@ -242,7 +242,7 @@
|
||||
$<INSTALL_INTERFACE:include>
|
||||
)
|
||||
set_target_properties(superlu PROPERTIES
|
||||
- VERSION ${PROJECT_VERSION} SOVERSION ${VERSION_MAJOR}
|
||||
+ VERSION ${PROJECT_VERSION} SOVERSION ${VERSION_MAJOR}.${VERSION_MINOR}
|
||||
)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
# Define GNU standard installation directories
|
@ -0,0 +1,48 @@
|
||||
############################################################################
|
||||
#
|
||||
# Program: SuperLU
|
||||
#
|
||||
# Module: make.inc
|
||||
#
|
||||
# Purpose: Top-level Definitions
|
||||
#
|
||||
# Creation date: May 10, 2015
|
||||
#
|
||||
# Modified:
|
||||
#
|
||||
#
|
||||
############################################################################
|
||||
#
|
||||
# The name of the libraries to be created/linked to
|
||||
#
|
||||
SuperLUroot = ${CMAKE_SOURCE_DIR}/build
|
||||
#
|
||||
# SuperLUroot = ${CMAKE_INSTALL_PREFIX}
|
||||
SUPERLULIB = $(SuperLUroot)/SRC/${PROJECT_NAME_LIB_EXPORT}
|
||||
|
||||
#TMGLIB = libtmglib.a
|
||||
|
||||
# BLASDEF = -DUSE_VENDOR_BLAS
|
||||
BLASLIB = $(TPL_BLAS_LIBRARIES)
|
||||
LIBS = $(SUPERLULIB) $(BLASLIB)
|
||||
|
||||
#
|
||||
# The archiver and the flag(s) to use when building archive (library)
|
||||
# If your system has no ranlib, set RANLIB = echo.
|
||||
#
|
||||
ARCH = @CMAKE_AR@
|
||||
ARCHFLAGS = cr
|
||||
RANLIB = @CMAKE_RANLIB@
|
||||
|
||||
CC = @CMAKE_C_COMPILER@
|
||||
CFLAGS = @CMAKE_C_FLAGS_RELEASE@ @CMAKE_C_FLAGS@
|
||||
NOOPTS =
|
||||
FORTRAN = @CMAKE_Fortran_COMPILER@
|
||||
|
||||
LOADER = $(CC)
|
||||
LOADOPTS = $(LDFLAGS)
|
||||
|
||||
#
|
||||
# The directory in which Matlab is installed
|
||||
#
|
||||
MATLAB = /Applications/MATLAB_R2015b.app
|
@ -0,0 +1,54 @@
|
||||
--- a/EXAMPLE/Makefile.orig 2020-10-18 00:23:21.000000000 +0200
|
||||
+++ b/EXAMPLE/Makefile 2021-01-29 17:58:26.396762602 +0100
|
||||
@@ -101,10 +101,10 @@
|
||||
$(LOADER) $(LOADOPTS) $(SLINXEXM3) $(LIBS) -lm -o $@
|
||||
|
||||
sitersol: $(SITSOL) $(SUPERLULIB)
|
||||
- $(LOADER) $(LOADOPTS) $(SITSOL) $(LIBS) -lm -o $@
|
||||
+ $(LOADER) $(LOADOPTS) $(SITSOL) $(LIBS) $(TPL_BLAS_LIBRARIES) -lm -o $@
|
||||
|
||||
sitersol1: $(SITSOL1) $(SUPERLULIB)
|
||||
- $(LOADER) $(LOADOPTS) $(SITSOL1) $(LIBS) -lm -o $@
|
||||
+ $(LOADER) $(LOADOPTS) $(SITSOL1) $(LIBS) $(TPL_BLAS_LIBRARIES) -lm -o $@
|
||||
|
||||
dlinsol: $(DLINEXM) $(SUPERLULIB)
|
||||
$(LOADER) $(LOADOPTS) $(DLINEXM) $(LIBS) -lm -o $@
|
||||
@@ -128,10 +128,10 @@
|
||||
$(LOADER) $(LOADOPTS) $(SUPERLUEXM) $(LIBS) -lm -o $@
|
||||
|
||||
ditersol: $(DITSOL) $(SUPERLULIB)
|
||||
- $(LOADER) $(LOADOPTS) $(DITSOL) $(LIBS) -lm -o $@
|
||||
+ $(LOADER) $(LOADOPTS) $(DITSOL) $(LIBS) $(TPL_BLAS_LIBRARIES) -lm -o $@
|
||||
|
||||
ditersol1: $(DITSOL1) $(SUPERLULIB)
|
||||
- $(LOADER) $(LOADOPTS) $(DITSOL1) $(LIBS) -lm -o $@
|
||||
+ $(LOADER) $(LOADOPTS) $(DITSOL1) $(LIBS) $(TPL_BLAS_LIBRARIES) -lm -o $@
|
||||
|
||||
clinsol: $(CLINEXM) $(SUPERLULIB)
|
||||
$(LOADER) $(LOADOPTS) $(CLINEXM) $(LIBS) -lm -o $@
|
||||
@@ -152,10 +152,10 @@
|
||||
$(LOADER) $(LOADOPTS) $(CLINXEXM3) $(LIBS) -lm -o $@
|
||||
|
||||
citersol: $(CITSOL) $(SUPERLULIB)
|
||||
- $(LOADER) $(LOADOPTS) $(CITSOL) $(LIBS) -lm -o $@
|
||||
+ $(LOADER) $(LOADOPTS) $(CITSOL) $(LIBS) $(TPL_BLAS_LIBRARIES) -lm -o $@
|
||||
|
||||
citersol1: $(CITSOL1) $(SUPERLULIB)
|
||||
- $(LOADER) $(LOADOPTS) $(CITSOL1) $(LIBS) -lm -o $@
|
||||
+ $(LOADER) $(LOADOPTS) $(CITSOL1) $(LIBS) $(TPL_BLAS_LIBRARIES) -lm -o $@
|
||||
|
||||
zlinsol: $(ZLINEXM) $(SUPERLULIB)
|
||||
$(LOADER) $(LOADOPTS) $(ZLINEXM) $(LIBS) -lm -o $@
|
||||
@@ -176,10 +176,10 @@
|
||||
$(LOADER) $(LOADOPTS) $(ZLINXEXM3) $(LIBS) -lm -o $@
|
||||
|
||||
zitersol: $(ZITSOL) $(SUPERLULIB)
|
||||
- $(LOADER) $(LOADOPTS) $(ZITSOL) $(LIBS) -lm -o $@
|
||||
+ $(LOADER) $(LOADOPTS) $(ZITSOL) $(LIBS) $(TPL_BLAS_LIBRARIES) -lm -o $@
|
||||
|
||||
zitersol1: $(ZITSOL1) $(SUPERLULIB)
|
||||
- $(LOADER) $(LOADOPTS) $(ZITSOL1) $(LIBS) -lm -o $@
|
||||
+ $(LOADER) $(LOADOPTS) $(ZITSOL1) $(LIBS) $(TPL_BLAS_LIBRARIES) -lm -o $@
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) $(CDEFS) $(INCLUDEDIR) -c $< $(VERBOSE)
|
@ -1 +1 @@
|
||||
SHA512 (superlu-5.2.1.tar.gz) = c5f9ca6055b6861dcc89e31c446c9f57a4e16333f9f24f109e8f375eded878005fa520ab39d2c1dd0ce12f289f9e251aef47da58c975bf5b1f09ca7539194e90
|
||||
SHA512 (superlu-5.2.2.tar.gz) = 091928a3df3433b337ebdacdb28de341d6d29d655965de6ffd656a6de18cf11171555bfd3af73082af62b1cead6835b4c11e4ba524a32db7f7d28db47c9d490c
|
||||
|
@ -1,9 +0,0 @@
|
||||
--- SuperLU_5.2.1/SRC/CMakeLists.txt 2018-04-13 17:01:44.007761121 +0200
|
||||
+++ CMakeLists.txt 2018-04-13 17:01:30.573718261 +0200
|
||||
@@ -242,5 +242,5 @@
|
||||
|
||||
install(FILES ${headers}
|
||||
# DESTINATION ${CMAKE_INSTALL_PREFIX}/include
|
||||
- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
||||
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/SuperLU
|
||||
)
|
Loading…
Reference in new issue