-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Fixes: Broken Linux Build 2. Added: Support for OSX build of dependencies 3. Merges from official Repo.
- Loading branch information
1 parent
b9378d7
commit bd110a8
Showing
100 changed files
with
35,727 additions
and
857 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
#------------------------------------------------------------------------------- | ||
# SuiteSparse_config Makefile | ||
#------------------------------------------------------------------------------- | ||
|
||
SUITESPARSE ?= $(realpath $(CURDIR)/..) | ||
export SUITESPARSE | ||
|
||
# version of SuiteSparse_config is also version of SuiteSparse meta-package | ||
LIBRARY = libsuitesparseconfig | ||
VERSION = 4.5.5 | ||
SO_VERSION = 4 | ||
|
||
default: library | ||
|
||
include SuiteSparse_config.mk | ||
|
||
ccode: all | ||
|
||
all: library | ||
|
||
# compile and install in SuiteSparse/lib | ||
library: $(AR_TARGET) | ||
$(MAKE) install INSTALL=$(SUITESPARSE) | ||
|
||
OBJ = SuiteSparse_config.o | ||
|
||
SuiteSparse_config.o: SuiteSparse_config.c SuiteSparse_config.h | ||
$(CC) $(CF) -c SuiteSparse_config.c | ||
|
||
static: $(AR_TARGET) | ||
|
||
$(AR_TARGET): $(OBJ) | ||
$(ARCHIVE) $(AR_TARGET) SuiteSparse_config.o | ||
$(RANLIB) $(AR_TARGET) | ||
|
||
distclean: purge | ||
|
||
purge: clean | ||
- $(RM) -r $(PURGE) | ||
|
||
clean: | ||
- $(RM) -r $(CLEAN) | ||
|
||
# install SuiteSparse_config | ||
install: $(AR_TARGET) $(INSTALL_LIB)/$(SO_TARGET) | ||
|
||
$(INSTALL_LIB)/$(SO_TARGET): $(OBJ) | ||
@mkdir -p $(INSTALL_LIB) | ||
@mkdir -p $(INSTALL_INCLUDE) | ||
@mkdir -p $(INSTALL_DOC) | ||
$(CC) $(SO_OPTS) $^ -o $@ $(LDLIBS) | ||
( cd $(INSTALL_LIB) ; ln -sf $(SO_TARGET) $(SO_PLAIN) ) | ||
( cd $(INSTALL_LIB) ; ln -sf $(SO_TARGET) $(SO_MAIN) ) | ||
$(CP) SuiteSparse_config.h $(INSTALL_INCLUDE) | ||
$(CP) README.txt $(INSTALL_DOC)/SUITESPARSECONFIG_README.txt | ||
chmod 755 $(INSTALL_LIB)/$(SO_TARGET) | ||
chmod 755 $(INSTALL_LIB)/$(SO_PLAIN) | ||
chmod 644 $(INSTALL_INCLUDE)/SuiteSparse_config.h | ||
chmod 644 $(INSTALL_DOC)/SUITESPARSECONFIG_README.txt | ||
|
||
# uninstall SuiteSparse_config | ||
uninstall: | ||
$(RM) $(INSTALL_LIB)/$(SO_TARGET) | ||
$(RM) $(INSTALL_LIB)/$(SO_PLAIN) | ||
$(RM) $(INSTALL_LIB)/$(SO_MAIN) | ||
$(RM) $(INSTALL_INCLUDE)/SuiteSparse_config.h | ||
$(RM) $(INSTALL_DOC)/SUITESPARSECONFIG_README.txt | ||
( cd xerbla ; $(MAKE) uninstall ) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
SuiteSparse_config, 2017, Timothy A. Davis, http://www.suitesparse.com | ||
(formerly the UFconfig package) | ||
|
||
This directory contains a default SuiteSparse_config.mk file. It tries to | ||
detect your system (Linux, SunOS, or Mac), which compiler to use (icc or cc), | ||
which BLAS and LAPACK library to use (OpenBLAS or MKL), and whether or not to | ||
compile with CUDA. | ||
|
||
For alternatives, see the comments in the SuiteSparse_config.mk file. | ||
|
||
License: No licensing restrictions apply to this file or to the | ||
SuiteSparse_config directory. | ||
|
||
-------------------------------------------------------------------------------- | ||
|
||
SuiteSparse_config contains configuration settings for all many of the software | ||
packages that I develop or co-author. Note that older versions of some of | ||
these packages do not require SuiteSparse_config. | ||
|
||
Package Description | ||
------- ----------- | ||
AMD approximate minimum degree ordering | ||
CAMD constrained AMD | ||
COLAMD column approximate minimum degree ordering | ||
CCOLAMD constrained approximate minimum degree ordering | ||
UMFPACK sparse LU factorization, with the BLAS | ||
CXSparse int/long/real/complex version of CSparse | ||
CHOLMOD sparse Cholesky factorization, update/downdate | ||
KLU sparse LU factorization, BLAS-free | ||
BTF permutation to block triangular form | ||
LDL concise sparse LDL' | ||
LPDASA LP Dual Active Set Algorithm | ||
RBio read/write files in Rutherford/Boeing format | ||
SPQR sparse QR factorization (full name: SuiteSparseQR) | ||
|
||
SuiteSparse_config is not required by these packages: | ||
|
||
CSparse a Concise Sparse matrix package | ||
MATLAB_Tools toolboxes for use in MATLAB | ||
|
||
In addition, the xerbla/ directory contains Fortan and C versions of the | ||
BLAS/LAPACK xerbla routine, which is called when an invalid input is passed to | ||
the BLAS or LAPACK. The xerbla provided here does not print any message, so | ||
the entire Fortran I/O library does not need to be linked into a C application. | ||
Most versions of the BLAS contain xerbla, but those from K. Goto do not. Use | ||
this if you need too. | ||
|
||
If you edit this directory (SuiteSparse_config.mk in particular) then you | ||
must do "make purge ; make" in the parent directory to recompile all of | ||
SuiteSparse. Otherwise, the changes will not necessarily be applied. | ||
|
Oops, something went wrong.