source: git/standalone.test/mk @ 6ce030f

spielwiese
Last change on this file since 6ce030f was 444bcf, checked in by Oleksandr Motsak <motsak@…>, 12 years ago
CHG: minor cleanup ADD: original Hans's test for standalone testing: tt.cc FIX: typo
  • Property mode set to 100755
File size: 1.1 KB
Line 
1#! /bin/sh
2
3
4#############################################################################################################
5# !!!!!!!!!!!!!!!!! Please put a copy of the installed '$PREFIX/bin/libpolys-config' here !!!!!!!!!!!!!!!!!!!
6#############################################################################################################
7
8
9
10# NAME="tt"
11NAME="test"
12
13P="." 
14# /mnt/DATA/GITHUB/w/GAP/libsing/spielwiese/TARGET/bin"
15
16LIBPOLYSCFLAGS="`sh $P/libsingular-config --cflagsg` -g -Wextra -Wall -Wno-long-long  -O0 --no-exceptions"
17LIBPOLYSLIBS=`sh $P/libsingular-config --libsg`
18LIBPOLYSPREFIX="`sh $P/libsingular-config --prefix`"
19
20echo "Using libpolys from: '$LIBPOLYSPREFIX'"
21echo "Using        CFLAGS: '$LIBPOLYSCFLAGS'"
22echo "Using          LIBS: '$LIBPOLYSLIBS'"
23
24CMD="g++ $LIBPOLYSCFLAGS -c $NAME.cc " 
25echo "executing '$CMD':"
26$CMD
27
28CMD="g++ -g -Wextra -Wall -Wno-long-long -O0 --no-exceptions -rdynamic $NAME.o -o $NAME $LIBPOLYSLIBS" 
29echo "executing '$CMD':"
30$CMD
31
32SINGULARPATH="$LIBPOLYSPREFIX/share/gftables:$LIBPOLYSPREFIX/libexec/singular/MOD" SINGULAR_ROOT_DIR="$LIBPOLYSPREFIX" ./$NAME
Note: See TracBrowser for help on using the repository browser.