-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split FFTW3 into double and float versions for ROOT and O2
ROOT requires libfftw3, but O2 requires libfftw3f. Also, make sure that ROOT actually finds libfftw3 and doesn't just disable the feature we request.
- Loading branch information
1 parent
4511cfa
commit 5c57e90
Showing
4 changed files
with
34 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package: FFTW3F | ||
version: "%(tag_basename)s" | ||
tag: v3.3.9 | ||
source: https://github.com/alisw/fftw3 | ||
prefer_system: (?!slc5.*) | ||
build_requires: | ||
- alibuild-recipe-tools | ||
- CMake | ||
- "GCC-Toolchain:(?!osx)" | ||
--- | ||
#!/bin/bash -e | ||
cmake "$SOURCEDIR" \ | ||
-DCMAKE_INSTALL_PREFIX:PATH="$INSTALLROOT" \ | ||
-DCMAKE_INSTALL_LIBDIR:PATH=lib \ | ||
-DENABLE_FLOAT=ON | ||
|
||
make ${JOBS+-j $JOBS} | ||
make install | ||
|
||
#Modulefile | ||
MODULEDIR="$INSTALLROOT/etc/modulefiles" | ||
MODULEFILE="$MODULEDIR/$PKGNAME" | ||
mkdir -p "$MODULEDIR" | ||
alibuild-generate-module --bin --lib > "$MODULEFILE" |
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