Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
ThirdParty-common
Commits
4c049afb
Commit
4c049afb
authored
Dec 21, 2017
by
Mark OLESEN
Browse files
ENH: add configure options for makeFFTW
parent
03075ef0
Changes
1
Show whitespace changes
Inline
Side-by-side
makeFFTW
View file @
4c049afb
...
...
@@ -54,7 +54,7 @@ usage() {
while
[
"$#"
-ge
1
]
;
do
echo
"
$1
"
;
shift
;
done
cat
<<
USAGE
usage:
${
0
##*/
}
[OPTION] [fftw-VERSION]
usage:
${
0
##*/
}
[OPTION] [fftw-VERSION]
[-- configure-options]
options:
-gcc Force gcc/g++ instead of the values from
\$
WM_CC,
\$
WM_CXX
-help
...
...
@@ -75,6 +75,7 @@ while [ "$#" -gt 0 ]
do
case
"
$1
"
in
''
)
;;
# Ignore empty
--
)
break
;;
# Extra configure options (leave on $@ for later detection)
-h
|
-help
)
usage
;;
-gcc
)
useGcc
;;
...
...
@@ -124,6 +125,18 @@ else
echo
(
# Configuration options:
unset
configOpt
# Additional configure options
if
[
"
$1
"
=
"--"
]
then
shift
configOpt
=
"
$configOpt
$@
"
fi
# End of configuration options
# ----------------------------
buildDIR
=
$buildBASE
/
$fftwPACKAGE
cd
$FFTW_SOURCE_DIR
||
exit
1
...
...
@@ -140,6 +153,7 @@ else
--libdir
=
$FFTW_ARCH_PATH
/lib
$WM_COMPILER_LIB_ARCH
\
--enable-shared
--disable-static
\
--disable-fortran
\
$configOpt
\
&&
set
+x
\
&&
make
-j
$WM_NCOMPPROCS
\
&&
make
install
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment