forked from xiaoyeli/superlu_dist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make.inc.in
49 lines (45 loc) · 1.42 KB
/
make.inc.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
############################################################################
#
# Program: SuperLU_DIST
#
# Module: make.inc
#
# Purpose: Top-level Definitions
#
# Creation date: March 1, 2016 version 5.0.0
#
# Modified: October 13, 2017 version 5.2.1
#
#
############################################################################
#
# The name of the libraries to be created/linked to
#
SuperLUroot = ${CMAKE_INSTALL_PREFIX}
DSUPERLULIB = $(SuperLUroot)/SRC/${PROJECT_NAME_LIB_EXPORT}
INCLUDEDIR = $(SuperLUroot)/@CMAKE_INSTALL_INCLUDEDIR@
LIBS = $(DSUPERLULIB) ${BLAS_LIB_EXPORT}
LIBS += ${LAPACK_LIB_EXPORT}
LIBS += ${PARMETIS_LIB_EXPORT}
LIBS += ${COMBBLAS_LIB_EXPORT}
#
# 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@
#CFLAGS += -D${DirDefs}
# CFLAGS += @COMPILE_DEFINITIONS@
CXX = @CMAKE_CXX_COMPILER@
CXXFLAGS = @CMAKE_CXX_FLAGS_RELEASE@ @CMAKE_CXX_FLAGS@
XSDK_INDEX_SIZE=@XSDK_INDEX_SIZE@
SLU_HAVE_LAPACK=@SLU_HAVE_LAPACK@
HAVE_PARMETIS=@HAVE_PARMETIS@
HAVE_COMBBLAS=@HAVE_COMBBLAS@
NOOPTS = -O0
FORTRAN = @CMAKE_Fortran_COMPILER@
LOADER = @CMAKE_CXX_COMPILER@
LOADOPTS = @CMAKE_EXE_LINKER_FLAGS@