forked from alisw/alidist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults-o2.sh
81 lines (81 loc) · 2.63 KB
/
defaults-o2.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
package: defaults-o2
version: v1
env:
CXXFLAGS: "-fPIC -O2 -std=c++14"
CFLAGS: "-fPIC -O2"
CMAKE_BUILD_TYPE: "RELWITHDEBINFO"
CXXSTD: "14"
disable:
- AliEn-Runtime
- grpc
- Ppconsul
- ApMon-CPP
overrides:
autotools:
tag: v1.5.0
boost:
tag: "v1.66.0"
requires:
- "GCC-Toolchain:(?!osx)"
- Python-modules
prefer_system_check: |
printf "#include \"boost/version.hpp\"\n# if (BOOST_VERSION < 106600 || BOOST_VERSION > 106699)\n#error \"Cannot use system's boost: boost 1.66 required.\"\n#endif\nint main(){}" | gcc -I$(brew --prefix boost)/include -xc++ - -o /dev/null
GCC-Toolchain:
tag: v6.2.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 < 0x060200)\n#error \"System's GCC cannot be used: we need at least GCC 6.X. We are going to compile our own version.\"\n#endif\n" | cc -xc++ - -c -o /dev/null
ROOT:
version: "%(tag_basename)s"
tag: "v6-12-04"
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
AliRoot:
version: "%(commit_hash)s_O2"
requires:
- ROOT
- fastjet:(?!.*ppc64)
- GEANT3
- GEANT4_VMC
- Vc
- ZeroMQ
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
protobuf:
version: "%(tag_basename)s"
tag: "v3.0.2"
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
pythia:
requires:
- lhapdf
- boost
AliPhysics:
version: "%(commit_hash)s_O2"
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
vgm:
tag: "v4-4"
source: https://github.com/vmc-project/vgm
---
# 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.