File tree Expand file tree Collapse file tree 7 files changed +10
-6
lines changed
Expand file tree Collapse file tree 7 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ FROM $copyImage AS copyfrom
1212
1313FROM $fromImage
1414
15- COPY --from=copyfrom /OpenROAD/build/src /openroad /usr/bin/.
15+ COPY --from=copyfrom /OpenROAD/build/bin /openroad /usr/bin/.
1616
1717ENTRYPOINT [ "openroad" ]
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ Please refer to the instructions for installing prebuilt binaries
5050## Build Locally
5151
5252The default build type is ` RELEASE ` to compile optimized code.
53- The resulting executable is in ` build/src /openroad ` .
53+ The resulting executable is in ` build/bin /openroad ` .
5454
5555Optional CMake variables passed as ` -D<var>=<value> ` arguments to CMake are show below.
5656
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ _test() {
144144 _create
145145 fi
146146 if [[ " ${testTarget} " == " smoke" ]]; then
147- docker run --rm " ${imagePath} " bash -c ' ./build/src /openroad -help'
147+ docker run --rm " ${imagePath} " bash -c ' ./build/bin /openroad -help'
148148 else
149149 docker run --rm " ${imagePath} " " ./docker/test_wrapper.sh" " ${compiler} " " ctest --test-dir build -j ${numThreads} "
150150 fi
Original file line number Diff line number Diff line change 4747 stage("Run ${name}") {
4848 catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
4949 timeout(time: 8, unit: 'HOURS') {
50- sh "python3 src/drt/test/run-ispd.py --program ${WORKSPACE}/build/src /openroad --tests ispd${ispd_year}_test${test_to_run}";
50+ sh "python3 src/drt/test/run-ispd.py --program ${WORKSPACE}/build/bin /openroad --tests ispd${ispd_year}_test${test_to_run}";
5151 }
5252 }
5353 }
Original file line number Diff line number Diff line change @@ -289,6 +289,10 @@ add_executable(openroad
289289 ${OPENROAD_SOURCE}
290290)
291291
292+ set_target_properties (openroad PROPERTIES
293+ RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR} /bin"
294+ )
295+
292296target_compile_options (openroad
293297 PRIVATE
294298 -Wextra -pedantic -Wcast-qual
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ mkdir -p work
55cd work
66
77# Create a soft link to openroad executable
8- ln -s ../../../../build/src /openroad
8+ ln -s ../../../../build/bin /openroad
99
1010# Step A: Generate Patterns Layout that models
1111# various capacitance and resistance
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ set app "openroad"
2121if { [info exist ::env(OPENROAD_EXE)] } {
2222 set app_path " $::env(OPENROAD_EXE) "
2323} else {
24- set app_path [file join $openroad_dir " build" " src " $app ]
24+ set app_path [file join $openroad_dir " build" " bin " $app ]
2525}
2626# Application options.
2727set app_options " -no_init -no_splash -exit"
You can’t perform that action at this time.
0 commit comments