-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathproject-config.template.jam
63 lines (63 loc) · 1.61 KB
/
project-config.template.jam
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
import feature ;
if ! {{{toolset}}} in [ feature.values <toolset> ]
{
using {{{toolset}}} : {{{toolset_version}}} : "{{{toolset_exec}}}" ;
}
local zlib_lib_paths = {{{zlib_lib_paths}}} ;
local zlib_include_paths = {{{zlib_include_paths}}} ;
if $(zlib_include_paths)
{
using zlib : : <include>$(zlib_include_paths) <search>$(zlib_lib_paths) ;
}
else
{
modules.poke : NO_ZLIB : 1 ;
}
local bzip2_lib_paths = {{{bzip2_lib_paths}}} ;
local bzip2_include_paths = {{{bzip2_include_paths}}} ;
if $(bzip2_include_paths)
{
using bzip2 : : <include>$(bzip2_include_paths) <search>$(bzip2_lib_paths) ;
}
else
{
modules.poke : NO_BZIP2 : 1 ;
}
local lzma_lib_paths = {{{lzma_lib_paths}}} ;
local lzma_include_paths = {{{lzma_include_paths}}} ;
local lzma_name = {{{lzma_name}}} ;
if $(lzma_include_paths)
{
using lzma : : <include>$(lzma_include_paths) <search>$(lzma_lib_paths) <name>$(lzma_name) ;
}
else
{
modules.poke : NO_LZMA : 1 ;
}
local zstd_lib_paths = {{{zstd_lib_paths}}} ;
local zstd_include_paths = {{{zstd_include_paths}}} ;
local zstd_name = {{{zstd_name}}} ;
if $(zstd_include_paths)
{
using zstd : : <include>$(zstd_include_paths) <search>$(zstd_lib_paths) <name>$(zstd_name) ;
}
else
{
modules.poke : NO_ZSTD : 1 ;
}
local python_exec = {{{python_exec}}} ;
local python_include = {{{python_include}}} ;
local python_lib = {{{python_lib}}} ;
if $(python_exec)
{
using python : {{{python_version}}} : $(python_exec) : $(python_include) : $(python_lib) ;
}
local mpicxx = "{{{mpicxx}}}" ;
if $(mpicxx) = "default" || $(mpicxx) = ""
{
using mpi ;
}
else if $(mpicxx)
{
using mpi : $(mpicxx) ;
}