diff --git a/.github/workflows/linux_post_commit.yml b/.github/workflows/linux_post_commit.yml index 1180493d4dfae..a308f0ab377b2 100644 --- a/.github/workflows/linux_post_commit.yml +++ b/.github/workflows/linux_post_commit.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - config: ["Default", "SharedLibs", "Assertions"] + config: ["Default", "SharedLibs", "NoAssertions"] steps: - uses: actions/checkout@v2 @@ -28,8 +28,8 @@ jobs: SharedLibs) export ARGS="--shared-libs" ;; - Assertiosn) - export ARGS="--assertions" + NoAssertions) + export ARGS="--no-assertions" ;; esac mkdir -p $GITHUB_WORKSPACE/build diff --git a/buildbot/configure.py b/buildbot/configure.py index f80859b3affa9..a88c5b9b1e2d4 100644 --- a/buildbot/configure.py +++ b/buildbot/configure.py @@ -42,8 +42,8 @@ def do_configure(args): libclc_targets_to_build = 'nvptx64--;nvptx64--nvidiacl' sycl_build_pi_cuda = 'ON' - if args.assertions: - llvm_enable_assertions = 'ON' + if args.no_assertions: + llvm_enable_assertions = 'OFF' if args.docs: llvm_enable_doxygen = 'ON' @@ -118,7 +118,7 @@ def main(): parser.add_argument("-t", "--build-type", metavar="BUILD_TYPE", required=True, help="build type, debug or release") parser.add_argument("--cuda", action='store_true', help="switch from OpenCL to CUDA") - parser.add_argument("--assertions", action='store_true', help="build with assertions") + parser.add_argument("--no-assertions", action='store_true', help="build without assertions") parser.add_argument("--docs", action='store_true', help="build Doxygen documentation") parser.add_argument("--no-ocl", action='store_true', help="download OpenCL deps via CMake") parser.add_argument("--shared-libs", action='store_true', help="Build shared libraries")