forked from alisw/alidist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults-user-root6.sh
46 lines (46 loc) · 1.44 KB
/
defaults-user-root6.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
package: defaults-user-root6
version: v1
env:
CXXFLAGS: "-fPIC -g -O2 -std=c++11"
CFLAGS: "-fPIC -g -O2"
CMAKE_BUILD_TYPE: "RELWITHDEBINFO"
disable:
- arrow
- treelite
overrides:
AliRoot:
version: "%(tag_basename)s"
tag: v5-09-47c
requires:
- ROOT
- fastjet:(?!.*ppc64)
- Vc
- AliEn-ROOT-Legacy
AliPhysics:
version: "%(tag_basename)s"
tag: v5-09-47c-01
ROOT:
tag: "v6-10-08"
requires:
- AliEn-Runtime:(?!.*ppc64)
- GSL
- opengl:(?!osx)
- Xdevel:(?!osx)
- FreeType:(?!osx)
- Python-modules
- "GCC-Toolchain:(?!osx)"
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
---
# To be used with aliBuild option `--defaults user-root6`.
#
# This defaults set is meant to be used on user computers with ROOT 6 as a base.
#
# * Builds AliRoot and AliPhysics without GEANT3, 4 and DPMJET, which fits
# most of the use cases and speeds up compilation time dramatically
# * Pinpoints AliRoot and AliPhysics to their latest tags, but they will be
# overridden by using packages in development mode
#
# This defaults set will become the default and will replace "release" at some
# point.