-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to build AliPhysics using ninja (#1272)
- Loading branch information
Showing
4 changed files
with
79 additions
and
6 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
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,72 @@ | ||
package: defaults-root6-ninja | ||
version: v1 | ||
env: | ||
CXXFLAGS: "-fPIC -g -O2 -std=c++11" | ||
CFLAGS: "-fPIC -g -O2" | ||
CMAKE_BUILD_TYPE: "RELWITHDEBINFO" | ||
CMAKE_GENERATOR: "Ninja" | ||
overrides: | ||
CMake: | ||
version: "%(tag_basename)s" | ||
tag: "v3.11.0" | ||
prefer_system_check: | | ||
which cmake && case `cmake --version | sed -e 's/.* //' | cut -d. -f1,2,3 | head -n1` in [0-2]*|3.[0-9].*|3.10.*) exit 1 ;; esac | ||
GCC-Toolchain: | ||
tag: v7.3.0-alice1 | ||
prefer_system_check: | | ||
set -e | ||
which gfortran || { echo "gfortran missing"; exit 1; } | ||
which cc && test -f $(dirname $(which cc))/c++ && printf "#define GCCVER ((__GNUC__ << 16)+(__GNUC_MINOR__ << 8)+(__GNUC_PATCHLEVEL__))\n#if (GCCVER < 0x070300)\n#error \"System's GCC cannot be used: we need at least GCC 7.X. We are going to compile our own version.\"\n#endif\n" | cc -xc++ - -c -o /dev/null | ||
XRootD: | ||
build_requires: | ||
- CMake | ||
- "OpenSSL:(?!osx)" | ||
- "osx-system-openssl:(osx.*)" | ||
- ApMon-CPP | ||
- libxml2 | ||
- "GCC-Toolchain:(?!osx)" | ||
- ninja | ||
ROOT: | ||
tag: "v6-10-08" | ||
source: https://github.com/root-mirror/root | ||
requires: | ||
- AliEn-Runtime:(?!.*ppc64) | ||
- GSL | ||
- opengl:(?!osx) | ||
- Xdevel:(?!osx) | ||
- FreeType:(?!osx) | ||
- Python-modules | ||
- "GCC-Toolchain:(?!osx)" | ||
- libpng | ||
- lzma | ||
build_requires: | ||
- CMake | ||
- "Xcode:(osx.*)" | ||
- ninja | ||
GSL: | ||
prefer_system_check: | | ||
printf "#include \"gsl/gsl_version.h\"\n#define GSL_V GSL_MAJOR_VERSION * 100 + GSL_MINOR_VERSION\n# if (GSL_V < 116)\n#error \"Cannot use system's gsl. Notice we only support versions from 1.16 (included)\"\n#endif\nint main(){}" | gcc -I$(brew --prefix gsl)/include -xc++ - -o /dev/null | ||
AliRoot: | ||
version: "%(commit_hash)s_ROOT6" | ||
tag: v5-09-38 | ||
build_requires: | ||
- CMake | ||
- "Xcode:(osx.*)" | ||
- AliTPCCommon | ||
- ninja | ||
AliPhysics: | ||
version: "%(commit_hash)s_ROOT6" | ||
tag: v5-09-38-01 | ||
build-requires: | ||
- "Xcode:(osx.*)" | ||
- ninja | ||
GEANT4: | ||
tag: v10.3.3 | ||
source: https://gitlab.cern.ch/geant4/geant4.git | ||
GEANT4_VMC: | ||
tag: "v3-5" | ||
source: https://github.com/vmc-project/geant4_vmc | ||
--- | ||
# This file is included in any build recipe and it's only used to set | ||
# environment variables. Which file to actually include can be defined by the | ||
# "--defaults" option of alibuild. |
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