diff --git a/CMakeLists.txt b/CMakeLists.txt index 55661408b..8d82a7af8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,7 @@ project(GraphCompiler VERSION "0.1.0" LANGUAGES C CXX) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0") set(CMAKE_EXPORT_COMPILE_COMMANDS ON) diff --git a/scripts/compile.sh b/scripts/compile.sh index 3d97a3926..5a7742c1b 100755 --- a/scripts/compile.sh +++ b/scripts/compile.sh @@ -6,11 +6,14 @@ repo=intel/graph-compiler # set -x print_usage() { - echo "Usage:" - echo "$0 " - echo " [ -d | --dev ] Dev build, build LLVM in current env and place all to 'external' dir" - echo " [ -l | --dyn ] Dynamical linking, requires rebuild of LLVM, activates 'dev' option" - echo " [ -h | --help ] Print this message" + cat <