File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ OPENROAD_COPTS = [
95
95
96
96
OPENROAD_DEFINES = [
97
97
"OPENROAD_GIT_DESCRIBE=\\ \" bazel-build\\ \" " ,
98
- "BUILD_TYPE=\\ \" release \\ \" " ,
98
+ "BUILD_TYPE=\\ \" $(COMPILATION_MODE) \\ \" " ,
99
99
"GPU=false" ,
100
100
"BUILD_PYTHON=false" ,
101
101
"ABC_NAMESPACE=abc" ,
Original file line number Diff line number Diff line change @@ -591,7 +591,11 @@ static void showSplash()
591
591
ord::OpenRoad::getGPUCompileOption () ? " +" : " -" ,
592
592
ord::OpenRoad::getGUICompileOption () ? " +" : " -" ,
593
593
ord::OpenRoad::getPythonCompileOption () ? " +" : " -" ,
594
+ #ifdef BAZEL_CURRENT_REPOSITORY
595
+ strcasecmp (BUILD_TYPE, " opt" ) == 0
596
+ #else
594
597
strcasecmp (BUILD_TYPE, " release" ) == 0
598
+ #endif
595
599
? " "
596
600
: fmt::format (" : {}" , BUILD_TYPE));
597
601
logger->report (
You can’t perform that action at this time.
0 commit comments