From d2578db5fc938c57d7740e49fb48be9b223ddc0e Mon Sep 17 00:00:00 2001 From: avivbeeri Date: Tue, 7 Dec 2021 07:46:43 +0000 Subject: [PATCH] Revert "Revert "Removing redundant script now that we use the amalgamated build"" This reverts commit 4e8b3d04b3c59531ada59a23c9e8348e3d9b7269. --- scripts/setup_wren.sh | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100755 scripts/setup_wren.sh diff --git a/scripts/setup_wren.sh b/scripts/setup_wren.sh deleted file mode 100755 index 8d90f8a1..00000000 --- a/scripts/setup_wren.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash -DOME_DIR=$PWD -INCLUDE_DIR=$DOME_DIR/include -LIB_DIR=$DOME_DIR/lib -WREN_DIR=$LIB_DIR/wren - -cd "$WREN_DIR/projects" - -if [[ "$OSTYPE" == "linux-gnu"* ]]; then - # ... - cd make -elif [[ "$OSTYPE" == "darwin"* ]]; then - cd make.mac - # Mac OSX -elif [[ "$OSTYPE" == "msys" ]]; then - cd make - # Lightweight shell and GNU utilities compiled for Windows (part of MinGW) -elif [[ "$OSTYPE" == "win32" ]]; then - exit 1 -else - exit 1 -fi - -# Undo external makefile flags just in case -unset config -MAKEFLAGS="--no-print-directory" -# build the debug version of wren -make clean -CFLAGS=-fvisibility=hidden -make ${@:2} CFLAGS=${CFLAGS} verbose=1 config=debug_$1 wren && cp "$WREN_DIR/lib/libwren_d.a" "$LIB_DIR/libwrend.a" -# build the release version of wren -make clean -make ${@:2} CFLAGS=${CFLAGS} verbose=1 config=release_$1 wren && cp "$WREN_DIR/lib/libwren.a" "$LIB_DIR/libwren.a" -# Copy the wren.h to our includes -cp "$WREN_DIR/src/include/wren.h" "$INCLUDE_DIR/wren.h"