Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Koch
dune-common
Commits
ded11b2b
Commit
ded11b2b
authored
15 years ago
by
Jorrit Fahlke
Browse files
Options
Downloads
Patches
Plain Diff
Document all the output of DUNE_PATH_SUPERLU.
[[Imported from SVN: r5904]]
parent
ee3049a0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
m4/superlu.m4
+54
-0
54 additions, 0 deletions
m4/superlu.m4
with
54 additions
and
0 deletions
m4/superlu.m4
+
54
−
0
View file @
ded11b2b
...
...
@@ -91,6 +91,59 @@ AC_DEFUN([_slu_search_default],
]
)
# DUNE_PATH_SUPERLU()
#
# REQUIRES: AC_PROG_CC, ACX_BLAS
#
# Shell variables:
# with_superlu
# "no", path, yes->("/usr", "/usr/local"); => yes, no
# my_slu_header
# The name of the header that was found: first of "slu_ddefs.h" or
# "dsp_defs.h". Contents is only meaningful for my_slu_found=yes.
# my_include_path
# The subpath the header was found in: "include/superlu", "include", or
# "SRC". Contents is only meaningful for my_slu_found=yes.
# my_lib_path
# The subpath for the library: "lib" or "". Contents is only meaningful
# for my_slu_found=yes.
# my_slu_found
# Whether any of the headers. Either "yes" or "no".
# with_superlu_lib
# ""->"superlu.a", "yes", arg
# with_superlu_blaslib
# "", "yes", path
# SUPERLU_LIB_PATH
# "$with_superlu/$my_lib_path"
# SUPERLU_INCLUDE_PATH
# "$with_superlu/$my_include_path"
# SUPERLU_CPPFLAGS
# "$CPPFLAGS -I$SUPERLU_INCLUDE_PATH"
# HAVE_SUPERLU
# "0", "1"
# SUPERLU_LIBS
# "$SUPERLU_LIBS -lsuperlu $BLAS_LIBS $LIBS $FLIBS" or
# "$SUPERLU_LIBS -lsuperlu -lblas $LIBS $FLIBS" or
# "$SUPERLU_LIB_PATH/$with_superlu_lib $SUPERLU_LIB_PATH/$with_superlu_blaslib $BLAS_LIBS $LIBS $FLIBS"
# or
# "$SUPERLU_LIB_PATH/$with_superlu_lib $SUPERLU_LIB_PATH/$with_superlu_blaslib -lblas $LIBS $FLIBS"
# or "$SUPERLU_LIB_PATH/$with_superlu_lib $BLAS_LIBS $LIBS $FLIBS"
# or "$SUPERLU_LIB_PATH/$with_superlu_lib -lblas $LIBS $FLIBS"
# DUNE_PKG_LIBS
# DUNE_PKG_CPPFLAGS
#
# Substitutions:
# SUPERLU_LIBS
# SUPERLU_CPPFLAGS
#
# Defines:
# HAVE_SUPERLU
# SUPERLU_POST_2005_VERSION
# HAVE_MEM_USAGE_T_EXPANSIONS
#
# Conditionals:
# SUPERLU
AC_DEFUN
([
DUNE_PATH_SUPERLU],[
AC_REQUIRE
([
AC_PROG_CC]
)
#AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])
...
...
@@ -173,6 +226,7 @@ AC_ARG_WITH([superlu-blaslib],
fi
HAVE_SUPERLU
=
0
### This won't work, LDFLAGS needs to be set
if
test
x
$with_superlu_lib
=
x
;
then
AC_CHECK_LIB
(
superlu,
[
dgssvx],[
SUPERLU_LIBS
=
"
$SUPERLU_LIBS
-lsuperlu
$LIBS
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment