Skip to content

Commit

Permalink
add sudo on OSX on missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioettorre committed Nov 16, 2023
1 parent 7d10dc2 commit bc1bf9a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ function build_geos {
-DBUILD_APPS:BOOL=OFF \
-DBUILD_TESTING:BOOL=OFF \
&& $cmake --build . -j4 \
&& sudo $cmake --install .)
&& if [ -n "$IS_OSX" ]; then sudo make install; else make install; fi)
touch geos-stamp
#&& sudo $cmake --install .)
}

function build_jsonc {
Expand Down
12 changes: 6 additions & 6 deletions multibuild/library_builders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ function build_simple {
local name_version="${name}-${version}"
local archive=${name_version}.${ext}
fetch_unpack $url/$archive
cd $name_version
cd $name_version
./configure --prefix=$BUILD_PREFIX $configure_args \
make -j4
make -j4
# && sudo make install)
if [ -n "$IS_OSX" ]; then sudo make install; else make install; fi
touch "${name}-stamp"
Expand Down Expand Up @@ -156,10 +156,10 @@ function build_new_zlib {
function build_jpeg {
if [ -e jpeg-stamp ]; then return; fi
fetch_unpack http://ijg.org/files/jpegsrc.v${JPEG_VERSION}.tar.gz
cd jpeg-${JPEG_VERSION}
./configure --prefix=$BUILD_PREFIX
make -j4
if [ -n "$IS_OSX" ]; then sudo make install; else make install; fi
(cd jpeg-${JPEG_VERSION} \
&& ./configure --prefix=$BUILD_PREFIX \
&& make -j4 \
&& if [ -n "$IS_OSX" ]; then sudo make install; else make install; fi)
touch jpeg-stamp
}

Expand Down

0 comments on commit bc1bf9a

Please sign in to comment.