Skip to content
Snippets Groups Projects
Commit c9f1b997 authored by Filippo Cremonese's avatar Filippo Cremonese
Browse files

Add graphviz component

parent 68468658
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@
#@ load("/components/ui/qt.lib.yml", "qt_component")
#@ load("/components/ui/quickqanava.lib.yml", "quickqanava_component")
#@ load("/components/ui/qt_creator.lib.yml", "qt_creator_component")
#@ load("/components/ui/graphviz.lib.yml", "graphviz_component")
#@ load("/components/ui/adaptagrams.lib.yml", "adaptagrams_component")
#@ load("/components/ui/cold_revng.lib.yml", "cold_revng_component")
#@ load("/components/ui/mesa.lib.yml", "mesa_component")
......@@ -60,6 +61,7 @@ components:
ui/qt: #@ qt_component
ui/quickqanava: #@ quickqanava_component
ui/qt-creator: #@ qt_creator_component
ui/graphviz: #@ graphviz_component
ui/adaptagrams: #@ adaptagrams_component
ui/cold-revng: #@ cold_revng_component
ui/mesa: #@ mesa_component
......
......@@ -15,6 +15,7 @@ dependencies:
- toolchain/host/gcc
- clang-release
- caliban
- ui/graphviz
- ui/adaptagrams
- ui/quickqanava
- ui/qt-creator
......
#@ load("/lib/create_component.lib.yml", "single_build_component")
#@ load("/global_options.lib.yml", "options")
#@ source_url = "https://www2.graphviz.org/Packages/stable/portable_source/graphviz-2.44.1.tar.gz"
#@yaml/text-templated-strings
---
#@ def _graphviz_args():
configure: |
mkdir -p "$BUILD_DIR" "$BUILD_DIR"
extract.sh --into "$BUILD_DIR" "(@= source_url @)"
cd $BUILD_DIR
./configure \
--disable-ltdl \
--disable-gdk-pixbuf \
--without-pangocairo \
--without-devil \
--without-gtk \
--without-gts \
--without-qt \
--without-lasi \
--without-poppler \
--without-ghostscript \
--disable-static \
--without-rsvg \
--without-x \
--without-xaw \
--without-lefty \
--without-digcola \
--without-fontconfig \
--without-freetype2 \
--without-ipsepcola \
--without-libgd \
--with-sfdp \
--without-ming \
--with-cgraph \
--without-glitz \
--without-ipsepcola \
--without-smyrna \
--without-visio \
--disable-guile \
--disable-java \
--disable-perl \
--disable-python2 \
--disable-python3 \
--disable-ruby \
--disable-tcl \
--disable-go \
--disable-io \
--disable-lua \
--disable-ocaml \
--disable-php \
--disable-python \
--disable-r \
--disable-sharp \
--without-included-ltdl \
--disable-ltdl-install \
--prefix="$ORCHESTRA_ROOT" \
LDFLAGS="(@= options["modern_linker_flags"] @) -Wl,-rpath,$RPATH_PLACEHOLDER/lib" \
CFLAGS="" \
CC="clang -fuse-ld=gold"
build_system: make
#@ end
---
#@ graphviz_component = single_build_component(**_graphviz_args())
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment