File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ ExternalProject_Add(igraph_0_10
19
19
PREFIX "${IGRAPH_INSTALL} "
20
20
URL "https://github.com/igraph/igraph/releases/download/0.10.12/igraph-0.10.12.tar.gz"
21
21
SOURCE_DIR "${IGRAPH_DOWNLOAD} "
22
- CMAKE_ARGS "-DCMAKE_INSTALL_PREFIX=${IGRAPH_INSTALL} " "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} " "-Wno-deprecated" "-DIGRAPH_VERSION=0.10.12"
22
+ CMAKE_ARGS "-DCMAKE_INSTALL_PREFIX=${IGRAPH_INSTALL} " "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_INSTALL_LIBDIR= ${IGRAPH_INSTALL} /lib" "- DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} " "-Wno-deprecated" "-DIGRAPH_VERSION=0.10.12"
23
23
BINARY_DIR "${IGRAPH_BUILD} "
24
24
PATCH_COMMAND echo "No patch for igraph-0.10.x required"
25
25
INSTALL_DIR "${IGRAPH_INSTALL} "
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ if [[ "$platform" == 'macOS' ]]; then
68
68
exit 255
69
69
fi
70
70
elif [[ " $platform " == ' linux' ]]; then
71
+ . /etc/os-release
71
72
if [ " $distribution " == ' Ubuntu' ] || [ " $distribution " == ' LinuxMint' ]; then
72
73
73
74
sudo apt-get update && sudo apt-get install -y build-essential verilator \
@@ -85,6 +86,23 @@ elif [[ "$platform" == 'linux' ]]; then
85
86
gcovr python-sphinx doxygen python-sphinx_rtd_theme python-jedi \
86
87
python-pip pybind11 rapidjson spdlog graphviz boost \
87
88
python-dateutil z3
89
+ elif [[ " $ID " == ' rhel' ]]; then
90
+ RHEL_VERSION=` echo $VERSION_ID | cut -d. -f1`
91
+ echo " Running experimental setup for RedHat Enterprise Linux version $RHEL_VERSION <$VERSION_ID >."
92
+ read -p " Will try to install some development packages from Fedora Rawhide. Is this OK? [yN] " yn
93
+ if [ " $yn " != ' y' ] && [ " $yn " != ' Y' ]; then
94
+ echo " Aborted installation"
95
+ exit 255
96
+ fi
97
+ for pkg in pkgconfig git qtv llvm cmake flex bison python graphviz boost readline g++ make; do
98
+ sudo yum install -y $pkg
99
+ done
100
+ sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-$RHEL_VERSION .noarch.rpm
101
+ sudo yum update -y
102
+ for pkg in boost-devel z3 rapidjson-devel qt5-qtbase-devel qt5-qtsvg-devel z3-devel python-devel verilator; do
103
+ sudo yum install -y $pkg
104
+ done
105
+ exit 255
88
106
else
89
107
echo " Unsupported Linux distribution: abort!"
90
108
exit 255
You can’t perform that action at this time.
0 commit comments