Skip to content

Commit

Permalink
Merge pull request #228 from joennlae/add-openroad-gui-public
Browse files Browse the repository at this point in the history
openroad-gui: add `OpenROAD` build with `GUI` option
  • Loading branch information
proppy authored Feb 22, 2023
2 parents 7e73e96 + c09a52e commit d24a72b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 28 deletions.
2 changes: 1 addition & 1 deletion pnr/openroad/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ cmake -B build -DCMAKE_INSTALL_PREFIX=$PREFIX .
cmake --build build -j $CPU_COUNT --target install

cd $SRC_DIR
cmake -B build -DTCL_LIB_PATHS="$BUILD_PREFIX;$PREFIX" -DCMAKE_FIND_ROOT_PATH="$BUILD_PREFIX;$PREFIX" -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=ONLY -DUSE_SYSTEM_BOOST=ON -DINSTALL_LIBOPENSTA=OFF -DBUILD_GUI=OFF -DBUILD_MPL2=OFF -DBUILD_PAR=OFF -DCMAKE_INSTALL_PREFIX=$PREFIX .
cmake -B build -DTCL_LIB_PATHS="$BUILD_PREFIX;$PREFIX" -DCMAKE_FIND_ROOT_PATH="$BUILD_PREFIX;$PREFIX" -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=ONLY -DUSE_SYSTEM_BOOST=ON -DINSTALL_LIBOPENSTA=OFF -DBUILD_MPL2=OFF -DBUILD_PAR=OFF -DCMAKE_INSTALL_PREFIX=$PREFIX .
cmake --build build -j $CPU_COUNT --target install
23 changes: 0 additions & 23 deletions pnr/openroad/gui-find-qt-only-if-enabled.patch

This file was deleted.

17 changes: 13 additions & 4 deletions pnr/openroad/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ source:
patches:
- odb-drt-disable-tests.patch # until tests are added to the recope
- sta-add-install-options.patch # to enable sta binary distribution
- gui-find-qt-only-if-enabled.patch # until gui variant is added
- disable-mpl2-and-par.patch # until or-tools dep is added
- remove-boost-span-deps.patch # to allow older boost
- url: http://lemon.cs.elte.hu/pub/sources/lemon-{{ lemon_version }}.tar.gz
Expand All @@ -37,23 +36,33 @@ requirements:
- bison
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ cdt('libx11-devel') }} # [linux]
- {{ cdt('libxau-devel') }} # [linux]
- {{ cdt('libxext-devel') }} # [linux]
- {{ cdt('libxdamage-devel') }} # [linux]
- {{ cdt('libxfixes-devel') }} # [linux]
- {{ cdt('libxxf86vm-devel') }} # [linux]
- {{ cdt('xorg-x11-proto-devel') }} # [linux]
- {{ cdt('mesa-libgl-devel') }} # [linux]
- {{ cdt('mesa-dri-drivers') }} # [linux]
- {{ cdt('libselinux-devel') }} # [linux]
host:
- python
- libboost 1.73
- eigen 3.3
- spdlog 1.9
- readline
- tk
- zlib
- fmt
- libgomp [not osx]
- llvm-openmp [osx]
- qt [linux]
run:
# missing run_exports
- {{ pin_compatible('libboost', min_pin='x.x', max_pin='x.x') }}
- {{ pin_compatible('python', min_pin='x.x', max_pin='x.x') }}
- {{ pin_compatible('python', min_pin='x.x', max_pin='x.x') }}
- spdlog >=1.9,<1.10

test:
commands:
- openroad -version
Expand Down

0 comments on commit d24a72b

Please sign in to comment.