@@ -97,65 +97,7 @@ clean_pyc /opt/_internal
9797# remove cache
9898rm -rf /tmp/* || true
9999
100- <<< <<< < HEAD
101- # /MOD START: install valhalla and osrm dependencies
102- if [ " ${AUDITWHEEL_POLICY} " == " manylinux2010" ] || [ " ${AUDITWHEEL_POLICY} " == " manylinux2014" ]; then
103- PACKAGE_MANAGER=yum
104- COMPILE_DEPS=" boost-devel sqlite-devel libspatialite-devel protobuf-devel libcurl-devel luajit-devel geos-devel boost-devel"
105- elif [ " ${AUDITWHEEL_POLICY} " == " manylinux_2_24" ]; then
106- PACKAGE_MANAGER=apt
107- # valhalla
108- COMPILE_DEPS=" libspatialite-dev libgeos-dev libluajit-5.1-dev libcurl4-openssl-dev libgeos++-dev libboost-all-dev"
109- # install protobuf v3.21.1
110- git clone https://github.com/protocolbuffers/protobuf.git && cd protobuf
111- git checkout v21.1 # aka 3.21.1
112- git submodule update --init --recursive
113- cmake -B build " -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true"
114- make -C build -j$( nproc)
115- make -C build install
116- elif [ " ${AUDITWHEEL_POLICY} " == " manylinux_2_28" ]; then
117- PACKAGE_MANAGER=dnf
118- # valhalla
119- COMPILE_DEPS=" libcurl-devel luajit-devel geos-devel libspatialite-devel boost-devel"
120- # install protobuf v3.21.1, not sure anymore why we're doing this?!
121- git clone --recurse-submodules https://github.com/protocolbuffers/protobuf.git && cd protobuf
122- git checkout v21.1 # aka 3.21.1
123- git submodule update --init --recursive
124- cmake -B build " -DCMAKE_POSITION_INDEPENDENT_CODE=ON"
125- make -C build -j$( nproc)
126- make -C build install
127- else
128- echo " Unsupported policy: '${AUDITWHEEL_POLICY} '"
129- exit 1
130- fi
131-
132- if [ " ${PACKAGE_MANAGER} " == " yum" ]; then
133- yum -y install ${COMPILE_DEPS}
134- yum clean all
135- rm -rf /var/cache/yum
136- elif [ " ${PACKAGE_MANAGER} " == " apt" ]; then
137- export DEBIAN_FRONTEND=noninteractive
138- apt-get update -qq
139- apt-get install -qq -y --no-install-recommends ${COMPILE_DEPS}
140- apt-get clean -qq
141- rm -rf /var/lib/apt/lists/*
142- elif [ " ${PACKAGE_MANAGER} " == " dnf" ]; then
143- dnf -y update
144- dnf -y install epel-release
145- dnf -y update
146- dnf -y install --allowerasing ${COMPILE_DEPS}
147- dnf clean all
148- rm -rf /var/cache/dnf
149- else
150- echo " ${PACKAGE_MANAGER} is not implemented"
151- exit 1
152- fi
153-
154-
155- hardlink -cv /opt/_internal
156- =======
157100hardlink -c /opt/_internal
158- >>>>>>> upstream/main
159101
160102# update system packages
161103LC_ALL=C " ${MY_DIR} /update-system-packages.sh"
0 commit comments