forked from alisw/alidist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults-release.sh
57 lines (53 loc) · 1.38 KB
/
defaults-release.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package: defaults-release
version: v1
env:
CXXFLAGS: "-fPIC -g -O2 -std=c++11"
CFLAGS: "-fPIC -g -O2"
CMAKE_BUILD_TYPE: "RELWITHDEBINFO"
disable:
- RooUnfold
- treelite
overrides:
# Pinpoint AliRoot/AliPhysics
AliRoot:
version: "%(tag_basename)s"
tag: v5-09-53
requires:
- ROOT
- DPMJET
- fastjet:(?!.*ppc64)
- GEANT3
- GEANT4_VMC
- Vc
- AliEn-ROOT-Legacy
AliPhysics:
version: "%(tag_basename)s"
tag: v5-09-53-01
XRootD:
tag: v3.3.6-alice2
source: https://github.com/alisw/xrootd.git
# Use ROOT 5
ROOT:
tag: v5-34-30-alice10
source: https://github.com/alisw/root
requires:
- AliEn-Runtime:(?!.*ppc64)
- GSL
- opengl:(?!osx)
- Xdevel:(?!osx)
- FreeType:(?!osx)
- "MySQL:slc7.*"
- GCC-Toolchain:(?!osx)
- XRootD
build_requires:
- CMake
- "Xcode:(osx.*)"
# ROOT 5 requires GSL < 2
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) || (GSL_V >= 200)\n#error \"Cannot use system's gsl. Notice we only support versions from 1.16 (included) and 2.00 (excluded)\"\n#endif\nint main(){}" | c++ -I$(brew --prefix gsl)/include -xc++ - -o /dev/null
# Minimal boost with no Python & co.
boost:
requires:
- "GCC-Toolchain:(?!osx)"
---