-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathconfig.py
43 lines (32 loc) · 922 Bytes
/
config.py
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
{
"downloads" : [
"https://github.com/embree/embree/archive/v3.13.0.tar.gz"
],
"license" : "LICENSE.txt",
"commands" : [
"mkdir gafferBuild",
"cd gafferBuild &&"
" cmake"
" -G {cmakeGenerator}"
" -D CMAKE_CXX_COMPILER={cxxCompiler}"
" -D CMAKE_INSTALL_PREFIX={buildDir}"
" -D CMAKE_PREFIX_PATH={gafferRoot}"
" -D CMAKE_BUILD_TYPE={cmakeBuildType}"
" -D {libLinkType}"
" -D EMBREE_ISPC_SUPPORT=OFF"
" -D EMBREE_TUTORIALS=OFF"
" -D EMBREE_RAY_MASK=ON"
" -D EMBREE_FILTER_FUNCTION=ON"
" -D EMBREE_BACKFACE_CULLING=OFF"
" -D EMBREE_TASKING_SYSTEM=TBB"
" -D EMBREE_TBB_ROOT={gafferRoot}"
" -D EMBREE_MAX_ISA=AVX2"
" ..",
"cd gafferBuild && cmake --build . --config {cmakeBuildType} --target install -- -j {jobs}",
],
"libLinkType" : {
"static" : "EMBREE_STATIC_LIB=ON",
"shared" : "EMBREE_STATIC_LIB=OFF",
"default" : "EMBREE_STATIC_LIB=ON",
},
}