forked from alisw/alidist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults-o2.sh
33 lines (33 loc) · 1.01 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
package: defaults-o2
version: v1
env:
CXXFLAGS: "-fPIC -g -O2 -std=c++11"
CFLAGS: "-fPIC -g -O2"
CMAKE_BUILD_TYPE: "RELWITHDEBINFO"
disable:
- AliEn-Runtime
- AliRoot
overrides:
ROOT:
tag: "v6-08-02"
source: https://github.com/root-mirror/root
requires:
- AliEn-Runtime:(?!.*ppc64)
- GSL
- opengl:(?!osx)
- Xdevel:(?!osx)
- FreeType:(?!osx)
- Python-modules
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"
libpng:
Python-modules:
Python:
---
# 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.