projects
/
nestedvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c690989
)
add gmp to makefile
author
brian
<brian@brianweb.net>
Tue, 15 Nov 2005 03:03:30 +0000
(19:03 -0800)
committer
brian
<brian@brianweb.net>
Tue, 15 Nov 2005 03:03:30 +0000
(19:03 -0800)
darcs-hash:
20051115030330
-24bed-
c019af6fea4ec3b0bfea036ccc9990444f5a8dac
.gz
Makefile
patch
|
blob
|
history
upstream/Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
3cdb291
..
e2edde7
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-407,6
+407,10
@@
ntlmauth.jar: build/tests/NtlmAuth.class $(tasks)/build_darcs_gcclass .gcclass_h
cd tmp/pruned && jar cfm ../../$@ ../../.manifest.ntlm .
rm -f .manifest.ntlm
cd tmp/pruned && jar cfm ../../$@ ../../.manifest.ntlm .
rm -f .manifest.ntlm
+gmptest: $(tasks)/build_gmp
+ cd upstream/build/gmp && \
+ make check TESTS_ENVIRONMENT="java -cp \"$(classpath)\" org.ibex.nestedvm.RuntimeCompiler"
+
#
# Speed tests
#
#
# Speed tests
#
diff --git
a/upstream/Makefile
b/upstream/Makefile
index
930f219
..
76cab29
100644
(file)
--- a/
upstream/Makefile
+++ b/
upstream/Makefile
@@
-31,6
+31,10
@@
url_regex = ftp://ftp.zoo.toronto.edu/pub/regex.shar
url_linpack = http://www.math.iastate.edu/burkardt/f_src/linpack_bench/linpack_bench.f
url_linpack = http://www.math.iastate.edu/burkardt/f_src/linpack_bench/linpack_bench.f
+version_gmp = 4.1.4
+url_gmp = ftp://ftp.gnu.org/gnu/gmp/gmp-$(version_gmp).tar.gz
+configure_gmp = --host=mips-unknown-elf
+
darcs_gcclass = http://darcs.brianweb.net/gcclass
darcs_classgen = http://darcs.brianweb.net/classgen
darcs_gcclass = http://darcs.brianweb.net/gcclass
darcs_classgen = http://darcs.brianweb.net/classgen
@@
-208,7
+212,14
@@
tasks/build_regex: tasks/download_regex tasks/build_newlib
cp libregex.a $(usr)/mips-unknown-elf/lib
touch $@
cp libregex.a $(usr)/mips-unknown-elf/lib
touch $@
-
+tasks/build_gmp: tasks/patch_gmp tasks/build_libc
+ cd build/gmp && \
+ CFLAGS="$(MIPS_CFLAGS)" LDFLAGS="$(MIPS_LDFLAGS)" \
+ ./configure --prefix=$(usr) $(configure_gmp) && \
+ make && \
+ make install exec_prefix=$(usr)/mips-unknown-elf includedir=$(usr)/mips-unknown-elf/include
+ touch $@
+
#
# Tests
# These are simply here for convenience. They aren't required
#
# Tests
# These are simply here for convenience. They aren't required