mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 14:32:24 +00:00
Add support for building in a path containing spaces.
This commit is contained in:
parent
8cec6b3794
commit
e4743120de
4 changed files with 172 additions and 173 deletions
|
|
@ -2,16 +2,16 @@
|
|||
## '.' this file from individual test.sh files.
|
||||
#set -e
|
||||
|
||||
echo --- Confidence test $(basename $PWD) ---
|
||||
echo --- Confidence test $(basename "$PWD") ---
|
||||
|
||||
if which cygpath >/dev/null 2>/dev/null
|
||||
then export PATH="$(cygpath "$1")/bin":"$PATH"
|
||||
else export PATH="$1/bin":"$PATH"
|
||||
fi
|
||||
# Set ibrary paths for darwin and termux(android)
|
||||
# Set library paths for darwin and termux(android)
|
||||
export DYLD_LIBRARY_PATH=$1/lib:$DYLD_LIBRARY_PATH
|
||||
export LD_LIBRARY_PATH=$1/lib:$LD_LIBRARY_PATH
|
||||
rm -f *.o *.obj *.exe *.sym *.c *.h result new.asm $(basename $PWD)
|
||||
rm -f *.o *.obj *.exe *.sym *.c *.h result new.asm $(basename "$PWD")
|
||||
|
||||
# Under gcc generate assembly source for source change test.
|
||||
# NOTE: The cygwin 64 bit build has relocation errors with
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue