mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[cmake] Run configure.sh at build
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -19,8 +19,7 @@ RUN apt-get update && apt-get install -y \
|
||||
RUN ln -fs /usr/share/zoneinfo/$TZ /etc/localtime && \
|
||||
dpkg-reconfigure --frontend noninteractive tzdata
|
||||
|
||||
RUN echo "" | ./configure.sh \
|
||||
&& ./tools/unix/build_omim.sh -rs generator_tool
|
||||
RUN ./tools/unix/build_omim.sh -rs generator_tool
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
|
||||
|
||||
@@ -73,10 +73,6 @@ if [[ "$OPT_TARGET" =~ "generator_tool|topography_generator_tool|world_roads_bui
|
||||
fi
|
||||
|
||||
OMIM_PATH="$(cd "${OMIM_PATH:-$(dirname "$0")/../..}"; pwd)"
|
||||
if ! grep "DEFAULT_URLS_JSON" "$OMIM_PATH/private.h" >/dev/null 2>/dev/null; then
|
||||
echo "Please run $OMIM_PATH/configure.sh"
|
||||
exit 2
|
||||
fi
|
||||
|
||||
DEVTOOLSET_PATH=/opt/rh/devtoolset-7
|
||||
if [ -d "$DEVTOOLSET_PATH" ]; then
|
||||
|
||||
Reference in New Issue
Block a user