diff --git a/build.sh b/build.sh index d73119a08..e94518e70 100755 --- a/build.sh +++ b/build.sh @@ -9,11 +9,13 @@ set -eu -o pipefail if [[ "$OSTYPE" == "linux-gnu"* ]]; then ./util/build.sh --disable-tests $@ elif [[ "$OSTYPE" == "darwin"* ]]; then - ./util/build-mac.sh --disable-tests $@ + # code from ./util/build.sh needs to be ported to support --disable-tests + #./util/build-mac.sh --disable-tests $@ + ./util/build-mac.sh $@ elif [[ "$OSTYPE" == "msys"* ]]; then ./util/build-win.sh --disable-tests $@ -#elif [[ "$OSTYPE" == "freebsd"* ]]; then - # placeholder +elif [[ "$OSTYPE" == "freebsd"* ]]; then + ./util/build.sh --disable-tests $@ else echo "Unable to detect your OS. What are you using?" fi diff --git a/util/build-mac.sh b/util/build-mac.sh index 745a72238..89a638b89 100755 --- a/util/build-mac.sh +++ b/util/build-mac.sh @@ -46,13 +46,6 @@ PREFIX="$(pwd)/depends/$TRIPLET" make "$@" -C ./depends/ V=1 NO_QT=1 -#BUILD CCLIB -WD=$PWD -cd src/cc -echo $PWD -./makecustom -cd $WD - # Build RandomX cd src/RandomX if [ -d "build" ] diff --git a/util/build-win.sh b/util/build-win.sh index f3498530e..3b87128ac 100755 --- a/util/build-win.sh +++ b/util/build-win.sh @@ -18,13 +18,6 @@ cd .. CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site CXXFLAGS="-DPTW32_STATIC_LIB -DCURL_STATICLIB -fopenmp -pthread" ./configure --prefix="${PREFIX}" --host=x86_64-w64-mingw32 --enable-static --disable-shared -# Build CryptoConditions stuff -WD=$PWD -cd src/cc -echo $PWD -./makecustom -cd $WD - # Build RandomX cd src/RandomX if [ -d "build" ]