Skip to content

Commit

Permalink
remove spinner to see build of lib
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioettorre committed Nov 14, 2023
1 parent 5eb9d8e commit 4a89456
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ function build_proj {
if [ -e proj-stamp ]; then return; fi
local cmake=cmake
build_sqlite
echo "env: $PROJ_DIR and build prefix ${BUILD_PREFIX}"
#
fetch_unpack http://download.osgeo.org/proj/proj-${PROJ_VERSION}.tar.gz
(cd proj-${PROJ_VERSION}
mkdir build
Expand All @@ -117,7 +119,7 @@ function build_proj {
-DENABLE_IPO=ON \
-DBUILD_APPS:BOOL=OFF \
-DBUILD_TESTING:BOOL=OFF \
-DCMAKE_INSTALL_LIBDIR=lib
# -DCMAKE_INSTALL_LIBDIR=lib
# -DBUILD_CCT:BOOL=ON \
# -DBUILD_CS2CS:BOOL=ON \
# -DBUILD_GEOD:BOOL=ON \
Expand All @@ -127,11 +129,10 @@ function build_proj {
# -DBUILD_TESTING:BOOL=OFF
cmake --build . -j4
(if [ -n "$IS_OSX" ]; then sudo cmake --install . ; else cmake --install .; fi))

# https://github.com/OSGeo/PROJ-data
cd $PROJ_DATA
cd ${PROJ_DATA}
echo "fetch_unpack https://github.com/OSGeo/PROJ-data/archive/refs/tags/${PROJ_DATA_VER}.tar.gz "
fetch_unpack https://github.com/OSGeo/PROJ-data/archive/refs/tags/${PROJ_DATA_VER}.tar.gz
ls -lrt
touch proj-stamp
}

Expand Down
8 changes: 4 additions & 4 deletions multibuild/common_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,9 @@ function build_wheel_cmd {
[ -z "$repo_dir" ] && echo "repo_dir not defined" && exit 1
local wheelhouse=$(abspath ${WHEEL_SDIR:-wheelhouse})
mkdir -p "$wheelhouse"
start_spinner
#start_spinner
if [ -n "$(is_function "pre_build")" ]; then pre_build; fi
stop_spinner
#stop_spinner
if [ -n "$BUILD_DEPENDS" ]; then
pip install $(pip_opts) $BUILD_DEPENDS
fi
Expand Down Expand Up @@ -384,9 +384,9 @@ function build_index_wheel_cmd {
# Discard first argument to pass remainder to pip
shift
local wheelhouse=$(abspath ${WHEEL_SDIR:-wheelhouse})
start_spinner
#start_spinner
if [ -n "$(is_function "pre_build")" ]; then pre_build; fi
stop_spinner
#stop_spinner
if [ -n "$BUILD_DEPENDS" ]; then
pip install $(pip_opts) $@ $BUILD_DEPENDS
fi
Expand Down

0 comments on commit 4a89456

Please sign in to comment.