forked from jschanck-si/supercop-fastbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
/
data-vars
34 lines (26 loc) · 882 Bytes
/
data-vars
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh -e
# supercop/data-vars
# D. J. Bernstein
# Public domain.
version=`cat version`
project=supercop
shorthostname=`hostname | sed 's/\..*//' | tr -cd '[a-z][A-Z][0-9]' | tr '[A-Z]' '[a-z]'`
top="`pwd`/supercop-data/$shorthostname"
PATH="/usr/local/bin:$PATH"
PATH="/usr/sfw/bin:$PATH"
PATH="$top/scripts:$PATH"
PATH="$top/okcompilers/bin:$PATH"
PATH="$top/killafter/bin:$PATH"
PATH="$top/sinceepoch/bin:$PATH"
PATH="$top/checksum/bin:$PATH"
export PATH
LD_LIBRARY_PATH="/usr/local/lib/sparcv9:/usr/local/lib:$LD_LIBRARY_PATH"
LD_LIBRARY_PATH="/usr/sfw/lib/sparcv9:/usr/sfw/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
# and wacky MacOS X
DYLD_LIBRARY_PATH="/usr/local/lib/sparcv9:/usr/local/lib:$DYLD_LIBRARY_PATH"
DYLD_LIBRARY_PATH="/usr/sfw/lib/sparcv9:/usr/sfw/lib:$DYLD_LIBRARY_PATH"
export DYLD_LIBRARY_PATH
# and work around bug in GNU sort
LANG=C
export LANG