From 3d8c53bb3708867c77456138c5190b4797d9186b Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Wed, 15 Nov 2017 13:19:29 +0100 Subject: build: Deprecate the compile/install scripts The build system updates have made installing simple and robust using the following commands: mkdir build && cd build cmake .. ccmake . sudo make install Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- compile_debug.sh | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100755 compile_debug.sh (limited to 'compile_debug.sh') diff --git a/compile_debug.sh b/compile_debug.sh deleted file mode 100755 index 3ea31882..00000000 --- a/compile_debug.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env bash - -ME=compile_debug - -if (($# == 1 )) -then - PREFIX=${1/%\//} -else - PREFIX="/usr/local/ouroboros" -fi - -BUILDDIR=build -DEBUGDIR=debug - -echo "$ME: Prefix is $PREFIX" - -echo "$ME: Build directory will be '$BUILDDIR'" -if test -n "$BUILDDIR" ; then - mkdir -p $BUILDDIR || { - echo "$ME: Cannot create directory '$BUILDDIR'" - } -fi -cd $BUILDDIR || exit 1 - -echo "$ME: Debug directory will be '$DEBUGDIR'" -if test -n "$DEBUGDIR" ; then - mkdir -p $DEBUGDIR || { - echo "$ME: Cannot create directory '$DEBUGDIR'" - } -fi -cd $DEBUGDIR || exit 1 - -cmake -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=Debug ../.. - -make && make check -- cgit v1.2.3