-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_config
62 lines (55 loc) · 2.02 KB
/
build_config
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
% INSTALL_DIRECTORY
% this is variable substituted inside perl script.
% possible values are:
% $ARCH -- the result of `cercs_arch` or the -a flag,
% $hostname -- the host where the build is performed
% $HOME -- the $HOME environment variable value during the build
% $project -- the project name (like "ffs", "evpath", etc.)
% $repository -- like "kaos" or "korvogithub"
INSTALL_DIRECTORY=$HOME
% VERSION_TAG - various values, including "development", "stable", etc.
%
VERSION_TAG=stable
%BUILDLIST
% project repository
dill korvogithub
atl korvogithub
ffs korvogithub
enet korvogithub
%nnti korvogithub
evpath korvogithub
%REPOSITORIES
%
% database of archive names, source code tool and repo spec values to use
%
% format for each line: <archive-name> <tool> <URL>
korvogithub git https://github.com/GTkorvo/$project.git
% special flags
DISABLE_TESTING
ENABLE_DEBUG_BUILD
% uncomment below to set results files dir (default /tmp)
% RESULTS_FILES_DIR=/tmp/build_results
% build master directory specificiation
BUILD_AREA=$HOME/nightly_build_area
%CONFIGURE/CMAKE ARGUMENTS
%
% format for each line: <archive-name> cmake/configure <arguments>
%
% configure arguments are variable substituted inside perl script.
% possible values are:
% $ARCH -- the result of `cercs_arch` or the -a flag,
% $hostname -- the host where the build is performed
% $HOME -- the $HOME environment variable value during the build
% $project -- the project name (like "ffs", "evpath", etc.)
% $repository -- like "kaos" or "korvogithub"
korvogithub configure
korvogithub cmake
%
%
% The entries below are often useful on HPC machines that require/desire static linking.
% To use, comment out the korvogithub lines above and uncomment those below.
% If you use these, comment out everything after 'evpath' in the 'BUILDLIST' above.
%
% korvogithub configure --disable-shared CC=cc CXX=CC
% korvogithub cmake -DCMAKE_C_COMPILER=cc -DCMAKE_CXX_COMPILER=CC -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_CXX_FLAGS=-fPIC -DTARGET_CNL=1
%