-
Notifications
You must be signed in to change notification settings - Fork 20
/
config-amdgpu.sh.template
54 lines (43 loc) · 1.71 KB
/
config-amdgpu.sh.template
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
# use Debug or Release
: ${BUILD_TYPE:=Debug}
: ${CMAKE_MAKE:=""}
: ${MAKE:="make -j4"}
# use this for ninja instead of make
#: ${CMAKE_MAKE:="-G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DLLVM_PARALLEL_COMPILE_JOBS=4 -DLLVM_PARALLEL_LINK_JOBS=1"}
#: ${MAKE:="ninja"}
# set this to true if you don't have a github account
: ${HTTPS:=true}
# set this to true if you want to download and build the required version of CMake
: ${CMAKE:=false}
: ${BRANCH_CMAKE:=v3.13.4}
# set this to false if you don't want to build with LLVM
# setting to false is meant to speed up debugging and not recommended for end users
: ${LLVM:=true}
: ${LLVM_TARGETS:="AArch64;AMDGPU;ARM;NVPTX;X86"}
: ${LLVM_GIT:=true}
: ${LLVM_GITHUB_ORG:=RadeonOpenCompute}
: ${LLVM_GIT_BRANCH:=rocm-5.6.1}
: ${LLVM_SRC_VERSION:=16.0.6}
# PAL
: ${BUILD_PAL:=true}
# we are currently fixed to this particular commit (one behind the head of branch 'dev' at the time of writing)
# due to changes in PAL's PipelineAbiReader that run into asserts when parsing kernel elfs generated by the AMDGPU backend for OS amdpal
: ${PAL_COMMIT:=2de164b431f8a27652e63513ae73338dc512e5bf}
: ${ROCm_GPU_GENERATION:=gfx1100}
# set this to false if you don't want to build LLVM with RV support
: ${RV:=true}
# use this to debug thorin hash table performance
: ${THORIN_PROFILE:=false}
# set this to false if you don't build with LLVM
: ${RUNTIME_JIT:=true}
# set this to false to hide runtime debug output
: ${RUNTIME_DEBUG_OUTPUT:=true}
# set the default branches for each repository
: ${BRANCH_ARTIC:=master}
: ${BRANCH_IMPALA:=master}
: ${BRANCH_THORIN:=master}
: ${BRANCH_RV:=master}
: ${BRANCH_RUNTIME:=master}
: ${BRANCH_STINCILLA:=main}
: ${BRANCH_RODENT:=master}
: ${CLONE_RODENT:=false}