Skip to content

Commit

Permalink
ci: update docker centos7 --> ubuntu22
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
  • Loading branch information
Vitor Bandeira committed Feb 23, 2024
1 parent ada6fbf commit 08c0a54
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY --from=openroad/lsoracle /LSOracle/core/test.ini ./tools/build/LSOracle/sha
COPY --from=openroad/lsoracle /LSOracle/build/yosys-plugin/oracle.so /OpenROAD-flow/tools/build/yosys/share/yosys/plugins/

# openroad binary
COPY --from=openroad/centos7-builder-gcc /OpenROAD/build/src/openroad ./tools/install/OpenROAD/bin/openroad
COPY --from=openroad/ubuntu22.04-builder-gcc /OpenROAD/build/src/openroad ./tools/install/OpenROAD/bin/openroad

# flow files
COPY ./env.sh .
Expand Down
4 changes: 2 additions & 2 deletions build_openroad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ LSORACLE_ARGS="\
-D YOSYS_PLUGIN=ON \
"

DOCKER_OS_NAME="centos7"
DOCKER_OS_NAME="ubuntu22.04"
PROC=-1

function usage() {
Expand Down Expand Up @@ -102,7 +102,7 @@ Options:
Options valid only for Docker builds:
-c, --copy-platforms Copy platforms to inside docker image.
--os=DOCKER_OS_NAME Choose beween centos7 (default), ubuntu20.04 and ubuntu22.04.
--os=DOCKER_OS_NAME Choose beween ubuntu22.04 (default), ubuntu20.04.
This script builds the OpenROAD tools: openroad, yosys and yosys plugins.
By default, the tools will be built from the linked submodule hashes.
Expand Down
4 changes: 2 additions & 2 deletions jenkins/public_nightly.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ pipeline {
sh 'exit 1';
}
}
sh "docker run --rm openroad/flow-centos7-builder:latest tools/install/OpenROAD/bin/openroad -help -exit";
sh "docker run --rm openroad/flow-centos7-builder:latest bash -c 'source ./env.sh ; make -C flow'";
sh "docker run --rm openroad/flow-ubuntu22.04-builder:latest tools/install/OpenROAD/bin/openroad -help -exit";
sh "docker run --rm openroad/flow-ubuntu22.04-builder:latest bash -c 'source ./env.sh ; make -C flow'";
} else {
sh 'nice flow/test/test_helper.sh ${TEST_SLUG}';
}
Expand Down
4 changes: 2 additions & 2 deletions jenkins/public_tests_all.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ pipeline {
sh 'exit 1';
}
}
sh "docker run --rm openroad/flow-centos7-builder:latest tools/install/OpenROAD/bin/openroad -help -exit";
sh "docker run --rm openroad/flow-centos7-builder:latest bash -c 'source ./env.sh ; make -C flow'";
sh "docker run --rm openroad/flow-ubuntu22.04-builder:latest tools/install/OpenROAD/bin/openroad -help -exit";
sh "docker run --rm openroad/flow-ubuntu22.04-builder:latest bash -c 'source ./env.sh ; make -C flow'";
} else {
sh 'nice flow/test/test_helper.sh ${TEST_SLUG}';
}
Expand Down
4 changes: 2 additions & 2 deletions jenkins/public_tests_small.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ pipeline {
sh 'exit 1';
}
}
sh "docker run --rm openroad/flow-centos7-builder:latest tools/install/OpenROAD/bin/openroad -help -exit";
sh "docker run --rm openroad/flow-centos7-builder:latest bash -c 'source ./env.sh ; make -C flow'";
sh "docker run --rm openroad/flow-ubuntu22.04-builder:latest tools/install/OpenROAD/bin/openroad -help -exit";
sh "docker run --rm openroad/flow-ubuntu22.04-builder:latest bash -c 'source ./env.sh ; make -C flow'";
} else {
sh 'nice flow/test/test_helper.sh ${TEST_SLUG}';
}
Expand Down

0 comments on commit 08c0a54

Please sign in to comment.