Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
2f09a7af
Unverified
Commit
2f09a7af
authored
Mar 27, 2018
by
Alex Rothberg
Committed by
GitHub
Mar 27, 2018
Browse files
save and restore CFLAGS
parent
5429cca8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
library_builders.sh
library_builders.sh
+6
-2
No files found.
library_builders.sh
View file @
2f09a7af
...
...
@@ -395,6 +395,10 @@ function build_fftw_case {
function
build_fftw
{
echo
'Building fftw'
# Save off current CFLAGS
local
old_cflags
=
$CFLAGS
# Taken from: https://github.com/conda-forge/fftw-feedstock/blob/master/recipe/build.sh
export
CFLAGS
=
"-O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math"
...
...
@@ -427,6 +431,6 @@ function build_fftw {
ls
-l
$C_INCLUDE_PATH
/fftw3
*
ls
-l
$STATIC_FFTW_DIR
/libfftw3
*
#
Clear CFLAGS from fftw build
export
CFLAGS
=
""
#
restore CFLAGS
export
CFLAGS
=
$old_cflags
}
Write
Preview
Markdown
is supported
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