Skip to content

Commit 77c6249

Browse files
authored
Merge pull request The-OpenROAD-Project#8295 from The-OpenROAD-Project-staging/yaml-cpp-dependency
Add yaml-cpp as a dependency for all supported distributions
2 parents b4b32b9 + 8c43e0f commit 77c6249

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

etc/DependencyInstaller.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ _installUbuntuPackages() {
408408
tcllib \
409409
unzip \
410410
wget \
411+
libyaml-cpp-dev \
411412
zlib1g-dev
412413

413414
packages=()
@@ -493,6 +494,7 @@ _installRHELPackages() {
493494
tcl-thread-devel \
494495
tcllib \
495496
wget \
497+
yaml-cpp-devel \
496498
zlib-devel
497499

498500
if [[ ${rhelVersion} == 8 ]]; then
@@ -560,6 +562,7 @@ _installOpenSusePackages() {
560562
tcl-devel \
561563
tcllib \
562564
wget \
565+
yaml-cpp-devel \
563566
zlib-devel
564567

565568
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 50
@@ -604,7 +607,7 @@ Then, rerun this script.
604607
EOF
605608
exit 1
606609
fi
607-
brew install bison boost cmake eigen flex fmt groff libomp or-tools pandoc pyqt5 python spdlog tcl-tk zlib swig
610+
brew install bison boost cmake eigen flex fmt groff libomp or-tools pandoc pyqt5 python spdlog tcl-tk zlib swig yaml-cpp
608611

609612
# Some systems need this to correctly find OpenMP package during build
610613
brew link --force libomp
@@ -658,6 +661,7 @@ _installDebianPackages() {
658661
tcllib \
659662
unzip \
660663
wget \
664+
libyaml-cpp-dev \
661665
zlib1g-dev
662666

663667
if [[ $1 == 10 ]]; then

0 commit comments

Comments
 (0)