Permalink
Browse files

Verify compilation with 'test' FEATURE.

  • Loading branch information...
nbigaouette committed Mar 12, 2012
1 parent 7fe252f commit 3694e09bd43defe52abbde94fadfd334bd03315e
Showing with 7 additions and 2 deletions.
  1. +2 −0 dev-lang/julia/Manifest
  2. +5 −2 dev-lang/julia/julia-9999.ebuild
View
@@ -0,0 +1,2 @@
+AUX 0001-Use-system-wide-dsfmt-suitesparse-wrapper-and-gmp-wr.patch 732 RMD160 70fa11c475c0485e48e36ee333489df5b456d37a SHA1 02367b25016c2fe15937e7cbe062c6e47d76ea0d SHA256 e811903d165eee0ea30392b7e4cfa7be28984b06bfcf05e2f72303b9aba53324
+EBUILD julia-9999.ebuild 4029 RMD160 fc5b166fd90418f317db226567d691b4a86f6159 SHA1 ae34a266db561daedf2c334f1da742b8090a4ecf SHA256 8c98f7d677abbe059846710b72175dc5ba456721cc9f0923ac51478506c6b639
@@ -68,7 +68,7 @@ src_prepare() {
src_compile() {
cd external || die "Could not enter 'external' directory!"
- make install-dsfmt install-suitesparse || die "Could not compile included dependencies!"
+ make install-dsfmt install-suitesparse install-gmp-wrapper || die "Could not compile included dependencies!"
# Create libsuitesparse.{so,a} from all sci-libs/suitesparse different libraries
if use builtin; then
@@ -108,4 +108,7 @@ src_install() {
ln -s /$(get_libdir)/libpcre.so.0 ${D}/usr/share/julia/lib/libpcre.so || die "Can't add symbolic link to pcre"
}
-
+src_test() {
+ cd ${S}/test || die "Can't cd into test directory"
+ make || die "Running tests failed"
+}

0 comments on commit 3694e09

Please sign in to comment.