Re-added hip-clang options to install script
MODIFY
install
install
@@ -15,6 +15,7 @@ function display_help()
# echo " [-d|--dependencies] install build dependencies"
echo " [-c|--clients] build library clients too (combines with -i & -d)"
echo " [-g|--debug] -DCMAKE_BUILD_TYPE=Debug (default is =Release)"
+ echo " [--hip-clang] build library for amdgpu backend using hip-clang"
}
@@ -25,6 +26,7 @@ install_package=false
build_package=false
build_clients=false
build_release=true
+build_hip_clang=false
run_tests=false
rocm_path=/opt/rocm/bin
# #################################################
@@ -34,7 +36,7 @@ rocm_path=/opt/rocm/bin
# check if we have a modern version of getopt that can handle whitespace and long parameters
getopt -T
if [[ $? -eq 4 ]]; then
- GETOPT_PARSE=$(getopt --name "${0}" --longoptions help,install,clients,debug,test,package --options hicdtp -- "$@")
+ GETOPT_PARSE=$(getopt --name "${0}" --longoptions help,install,clients,debug,hip-clang,test,package --options hicdtp -- "$@")
else
echo "Need a new version of getopt"
exit 1
@@ -69,6 +71,9 @@ while true; do
-t|--test)
run_tests=true
shift ;;
+ --hip-clang)
+ build_hip_clang=true
+ shift ;;
--) shift ; break ;;
*) echo "Unexpected command line parameter received; aborting";
exit 1

Re-added hip-clang options to install script (#47)