Adding a skeleton for the path64 compiler.

It builds, but it needs some reworks as running it lookes at /usr/bin/ld and things like that.
I leave that for another day.

svn path=/nixpkgs/trunk/; revision=22442
This commit is contained in:
Lluís Batlle i Rossell 2010-07-02 21:44:31 +00:00
parent 94fd6da74e
commit 6aa4b636dc
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{stdenv, fetchgit, perl, flex, bison, gmp, mpfr, cmake}:
stdenv.mkDerivation {
name = "path64-2010-07-02";
src = fetchgit {
url = git://github.com/path64/compiler.git;
rev = "e17f7f952831bbf1d996";
sha256 = "fa1320959e1131557d5f82e98f4621a222ec45e1d6e0e7f271d2c13de4fd0dd1";
};
cmakeFlags = "
-DPATH64_ENABLE_HUGEPAGES=ON
-DPATH64_ENABLE_MATHLIBS=ON -DPATH64_ENABLE_OPENMP=ON
-DPATH64_ENABLE_PSCRUNTIME=OFF -DPSC_CRT_PATH=/usr/lib64
-DPATH64_ENABLE_PROFILING=OFF -DPATH64_ENABLE_TARGETS=x8664
-DCMAKE_BUILD_TYPE=Debug -DPATH64_ENABLE_FORTRAN=OFF
";
makeFlags = "-j4";
buildInputs = [ perl flex bison gmp mpfr cmake ];
}

View File

@ -2484,6 +2484,11 @@ let
inherit lib fetchurl stdenv composableDerivation;
};
path64 = import ../development/compilers/path64 {
inherit fetchgit perl flex bison gmp mpfr cmake;
stdenv = stdenv2;
};
openjdkDarwin = import ../development/compilers/openjdk-darwin {
inherit fetchurl stdenv;
};