Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
2fc60e4e
Commit
2fc60e4e
authored
Sep 07, 2002
by
Per Cederqvist
Browse files
Implement --cfg option.
parent
70927ff1
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/xenofarm.sh
View file @
2fc60e4e
...
...
@@ -40,10 +40,12 @@
compiler
=
default
compat
=
false
cfgargs
=
while
[
$#
-gt
0
]
do
case
"
$1
"
in
--compat
)
compat
=
true
;
shift
;;
--cfg
)
cfgargs
=
"
$1
"
;
shift
;;
*
)
compiler
=
"
$1
"
;
shift
;;
esac
done
...
...
@@ -101,9 +103,9 @@ pfx=`pwd`/pfx
status
=
good
if
test
$compiler
=
default
then
cfgargs
=
:
else
cfgargs
=
CC
=
"
$compiler
"
cfgargs
=
"
$cfgargs
CC=
$compiler
"
fi
case
`
uname
-n
`
in
...
...
@@ -138,6 +140,14 @@ case `uname -n` in
esac
dotask 1
"unzip"
"gzip -d
$BASE
.tar.gz"
if
test
$compiler
=
default
then
:
else
echo
old-style compiler spec
>>
r/unziplog.txt
touch
r/unzip.warn
fi
dotask 1
"unpack"
"tar xf
$BASE
.tar"
dotask 1
"cfg"
"cd
$BASE
&& ./configure -C --prefix=
$pfx
$cfgargs
"
dotask 0
"id-cc"
"cd
$BASE
&& make ident-cc"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment