[VENTUS][NFC] Add build options

This commit is contained in:
Jules-Kong 2024-12-08 13:25:28 +08:00
parent c8e4d01ce3
commit bc96fd8563
1 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,8 @@ PROGRAMS_TOBUILD=(llvm ocl-icd libclc spike driver pocl rodinia test-pocl)
help() { help() {
cat <<END cat <<END
Build llvm, pocl, ocl-icd, libclc programs Build llvm, pocl, ocl-icd, libclc, driver, spike programs.
Run the rodinia and test-pocl test suites.
Read ${DIR}/README.md to get started. Read ${DIR}/README.md to get started.
Usage: ${DIR}/$(basename ${0}) Usage: ${DIR}/$(basename ${0})
@ -19,9 +20,9 @@ Usage: ${DIR}/$(basename ${0})
Options: Options:
--build <build programs> --build <build programs>
Chosen programs to build : llvm, ocl-icd, libclc, spike, driver, pocl Chosen programs to build : llvm, ocl-icd, libclc, spike, driver, pocl, rodinia, test-pocl
Option format : "llvm;pocl", string are seperated by semicolon Option format : "llvm;pocl", string are seperated by semicolon
Default : "llvm;ocl-icd;libclc;spike;driver;pocl" Default : "llvm;ocl-icd;libclc;spike;driver;pocl;rodinia;test-pocl"
'BUILD_TYPE' is default 'Release' which can be changed by enviroment variable 'BUILD_TYPE' is default 'Release' which can be changed by enviroment variable
--help | -h --help | -h