From 00f11e8724763fc41bcbaf461abab44de2e664ff Mon Sep 17 00:00:00 2001 From: mtgu0705 Date: Tue, 4 Mar 2025 11:43:55 +0800 Subject: [PATCH] Revert "revert cmakefiles" This reverts commit 6b318cb842100e21d38b705aa14dc0b7c3df3edb. --- CMakeLists.txt | 4 ---- Jenkinsfile | 3 --- cmake/EnableCompilerWarnings.cmake | 1 - 3 files changed, 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e90f893de0..37962c14e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -535,10 +535,6 @@ include_directories(BEFORE ) SET(BUILD_DEV ON CACHE BOOL "BUILD_DEV") -if(BUILD_DEV) - add_compile_options(-Werror) - add_compile_options(-Weverything) -endif() message("CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS}") if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") diff --git a/Jenkinsfile b/Jenkinsfile index 80392bfbed..a3a637666f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -722,9 +722,6 @@ CRON_SETTINGS = BRANCH_NAME == "develop" ? '''0 23 * * * % RUN_FULL_QA=true;ROCM pipeline { agent none - triggers { - parameterizedCron(CRON_SETTINGS) - } options { parallelsAlwaysFailFast() } diff --git a/cmake/EnableCompilerWarnings.cmake b/cmake/EnableCompilerWarnings.cmake index fb2b38d688..d5bcd6f978 100644 --- a/cmake/EnableCompilerWarnings.cmake +++ b/cmake/EnableCompilerWarnings.cmake @@ -66,7 +66,6 @@ else() -Wunreachable-code -Wunused -Wno-reserved-identifier - -Werror -Wno-option-ignored -Wsign-compare -Wno-extra-semi-stmt