Changeset 35197


Ignore:
Timestamp:
2021-06-06T21:33:39+12:00 (3 years ago)
Author:
davidb
Message:

Changes after compiling on newly updated MacOs (Macrocarpa)

Location:
gs3-extensions/mars-src/trunk/devel
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/mars-src/trunk/devel/CASCADE-MAKE.sh

    r34689 r35197  
    77fi
    88
    9 for d in ZLIB OPENSSL CMAKE NODEJS ; do
     9for d in ZLIB OPENSSL CMAKE NODEJS NASM ; do
    1010    echo "    Running CASCADE-MAKE/$d.sh"
    1111
  • gs3-extensions/mars-src/trunk/devel/CASCADE-MAKE/OPENSSL.sh

    r34680 r35197  
    1818opt_run_untar $force_untar $auto_untar $package $version
    1919
     20# For 64 bit Macs, need to run ./Configure with darwin64-x86_64-cc, rather than ./config
     21# To overcome an error in openssl's perl script determining the LLVM version, we also need force the
     22# compilers to be GNU since Clang comes back with an LLVM version that doesn't work out
     23#stored_CC=$CC
     24#stored_CXX=$CXX
     25
     26
    2027#opt_run_configure $force_config $auto_config $package $version $prefix
    21 if [ $force_config = "1" ] ; then
     28
     29if [[ "x$GSDLOS" == "xdarwin" ]] && [[ `uname -m` == *"64" ]] ; then
     30  if [ $force_config = "1" ] ; then
     31    PACKAGES="$PWD/$package$version"
     32    echo "[pushd $package$version]"
     33    ( cd $package$version ; \
     34      echo $CROSSCONFIGURE_VARS ./Configure --openssldir=$PACKAGES/openssl no-shared $CROSSCONFIGURE_ARGS $@ darwin64-x86_64-cc ; \
     35      eval $CROSSCONFIGURE_VARS ./Configure --openssldir=$PACKAGES/openssl no-shared $CROSSCONFIGURE_ARGS $@ darwin64-x86_64-cc )
     36    if [ $? != 0 ] ; then
     37        echo "      Error encountered running *configure* stage of $progname"
     38        exit 1
     39    fi
     40    echo "[popd]"
     41  else
     42    if [ $auto_config = "1" ] ; then
     43      echo "Found top-level for ${progname%.*} => no need to run ./configure"
     44    fi
     45  fi
     46
     47else
     48  if [ $force_config = "1" ] ; then
    2249    echo "[pushd $package$version]"
    2350    ( cd $package$version ; \
     
    3360      echo "Found top-level for ${progname%.*} => no need to run ./configure"
    3461    fi
     62  fi
    3563fi
    3664
Note: See TracChangeset for help on using the changeset viewer.