mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 14:59:17 +00:00
Add a CMake property for c++ standard (17 or 20) (#2736)
Configure C++ standard with a CMake variable. Defaults to C++20, but can be set to C++17 to test backwards compatibility. * Add validation for allowed C++ standards. * build CK in rehl8 docker with std=c++17 --------- Co-authored-by: illsilin_amdeng <Illia.Silin@amd.com>
This commit is contained in:
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@@ -1358,6 +1358,7 @@ pipeline {
|
||||
def docker_name = "${env.CK_DOCKERHUB_PRIVATE}:ck_rhel8_rocm6.3"
|
||||
setup_args = """ -DGPU_TARGETS="gfx942" \
|
||||
-DCMAKE_CXX_FLAGS=" -O3 " \
|
||||
-DCK_CXX_STANDARD="17" \
|
||||
-DCK_USE_ALTERNATIVE_PYTHON=/opt/Python-3.8.13/bin/python3.8 """
|
||||
execute_args = " "
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user