forked from patmarion/ParaViewAutoBuild
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild_options.sh
More file actions
69 lines (58 loc) · 1.54 KB
/
build_options.sh
File metadata and controls
69 lines (58 loc) · 1.54 KB
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
#platform=bgl
#platform=bgp
platform=eureka
#platform=jaguarpf
#platform=jaguarpfgcc
set_common_options()
{
base=$HOME/source/autobuild2
rebuild_native_deps=0
rebuild_cross_deps=0
rebuild_tools=0
redownload=0
python_package="Python-2.5.2"
python_url="http://www.python.org/ftp/python/2.5.2"
python_cmake_patch="add_cmake_files_to_python2-5-2.patch"
cmake_package="cmake-2.8.3"
cmake_url="http://www.cmake.org/files/v2.8"
osmesa_file="MesaLib-7.6.1" #actual tarball - handle naming inconsistency
osmesa_package="Mesa-7.6.1"
osmesa_url="ftp://ftp.freedesktop.org/pub/mesa/7.6.1/"
threads="-j3"
}
set_bgl_options()
{
toolchain_file=toolchain-xlc-bgl.cmake
make_command="make $threads"
paraview_cross_cxx_flags="-O2 -qstrict -qarch=440 -qtune=440 -qcpluscmt"
osmesa_config_name=bgl-osmesa-xlc
}
set_bgp_options()
{
toolchain_file=BlueGeneP-xl-static.cmake
make_command="make $threads"
paraview_cross_cxx_flags="-O2 -qstrict -qarch=450d -qtune=450 -qcpluscmt"
osmesa_config_name=bgp-osmesa-xlc
}
set_eureka_options()
{
make_command="make $threads"
}
set_jaguarpf_options()
{
base=/ccs/proj/tur013/marionp
toolchain_file=cray-cnl-pgi-toolchain.cmake
make_command="make $threads"
paraview_cross_cxx_flags="-O2"
osmesa_config_name=craycle-osmesa-pgi
}
set_jaguarpfgcc_options()
{
base=/ccs/proj/tur013/marionp/gccbuild
toolchain_file=cray-cnl-gnu-toolchain.cmake
make_command="make $threads"
paraview_cross_cxx_flags="-O2"
osmesa_config_name=craycle-osmesa-gnu
}
set_common_options
set_${platform}_options