-
-
Notifications
You must be signed in to change notification settings - Fork 15k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
futhark: init at 0.6.2 #43865
futhark: init at 0.6.2 #43865
Changes from all commits
d26c303
0c25079
7b49b87
b64193f
5ea9d9d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Generated using `cabal2nix --hpack .`, then replace src | ||
{ mkDerivation, alex, array, base, bifunctors, binary, blaze-html | ||
, bytestring, containers, data-binary-ieee754, directory | ||
, directory-tree, dlist, extra, file-embed, filepath, gitrev, happy | ||
, haskeline, hpack, HUnit, json, language-c-quote, mainland-pretty | ||
, markdown, mtl, neat-interpolation, parallel, parsec, process | ||
, process-extras, QuickCheck, random, raw-strings-qq, regex-tdfa | ||
, srcloc, stdenv, template-haskell, temporary, test-framework | ||
, test-framework-hunit, test-framework-quickcheck2, text | ||
, th-lift-instances, transformers, vector, vector-binary-instances | ||
, zlib, fetchFromGitHub | ||
}: | ||
mkDerivation { | ||
pname = "futhark"; | ||
version = "0.6.2"; | ||
src = fetchFromGitHub { | ||
owner = "diku-dk"; | ||
repo = "futhark"; | ||
rev = "v0.6.2"; | ||
sha256 = "0yj7n01swpvqblybdnks3mjf0mzf1gdg2b2cpxdpxnrjw5j0pnq2"; | ||
}; | ||
isLibrary = true; | ||
isExecutable = true; | ||
libraryHaskellDepends = [ | ||
array base bifunctors binary blaze-html bytestring containers | ||
data-binary-ieee754 directory directory-tree dlist extra file-embed | ||
filepath gitrev language-c-quote mainland-pretty markdown mtl | ||
neat-interpolation parallel parsec process raw-strings-qq | ||
regex-tdfa srcloc template-haskell text th-lift-instances | ||
transformers vector vector-binary-instances zlib | ||
]; | ||
libraryToolDepends = [ alex happy hpack ]; | ||
executableHaskellDepends = [ | ||
array base bifunctors binary blaze-html bytestring containers | ||
data-binary-ieee754 directory directory-tree dlist extra file-embed | ||
filepath gitrev haskeline json language-c-quote mainland-pretty | ||
markdown mtl neat-interpolation parallel parsec process | ||
process-extras random raw-strings-qq regex-tdfa srcloc | ||
template-haskell temporary text th-lift-instances transformers | ||
vector vector-binary-instances zlib | ||
]; | ||
testHaskellDepends = [ | ||
array base bifunctors binary blaze-html bytestring containers | ||
data-binary-ieee754 directory directory-tree dlist extra file-embed | ||
filepath gitrev HUnit language-c-quote mainland-pretty markdown mtl | ||
neat-interpolation parallel parsec process QuickCheck | ||
raw-strings-qq regex-tdfa srcloc template-haskell test-framework | ||
test-framework-hunit test-framework-quickcheck2 text | ||
th-lift-instances transformers vector vector-binary-instances zlib | ||
]; | ||
preConfigure = "hpack"; | ||
homepage = "https://futhark-lang.org"; | ||
description = "An optimising compiler for a functional, array-oriented language"; | ||
license = stdenv.lib.licenses.isc; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# EXTRA HASKELL PACKAGES NOT ON HACKAGE | ||
# | ||
# This file should only contain packages that are not in ./hackage-packages.nix. | ||
# Attributes in this set should be nothing more than a callPackage call. | ||
# Overrides to these packages should go to either configuration-nix.nix, | ||
# configuration-common.nix or to one of the compiler specific configuration | ||
# files. | ||
self: super: { | ||
|
||
multi-ghc-travis = throw ("haskellPackages.multi-ghc-travis has been renamed" | ||
+ "to haskell-ci, which is now on hackage"); | ||
|
||
# https://github.com/channable/vaultenv/issues/1 | ||
vaultenv = self.callPackage ../tools/haskell/vaultenv { }; | ||
|
||
# https://github.com/diku-dk/futhark/issues/614 | ||
futhark = self.callPackage ../compilers/futhark { }; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ stdenv, python2, fetchFromGitHub }: | ||
with python2.pkgs; | ||
stdenv.mkDerivation { | ||
name = "mpdsync-2017-06-15"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "alphapapa"; | ||
repo = "mpdsync"; | ||
rev = "da90058f44dd9578cc5f2fb96a1fb2b26da40d07"; | ||
sha256 = "1mfg3ipqj5dvyyqbgp6ia6sc1ja5gmm2c9mfrwx0jw2dl182if6q"; | ||
}; | ||
|
||
pythonPath = [ mpd2 ]; | ||
|
||
nativeBuildInputs = [ | ||
wrapPython | ||
]; | ||
|
||
dontBuild = true; | ||
|
||
installPhase = "install -D mpdsync.py $out/bin/mpdsync"; | ||
postFixup = "wrapPythonPrograms"; | ||
|
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1336,6 +1336,8 @@ with pkgs; | |
|
||
fsmark = callPackage ../tools/misc/fsmark { }; | ||
|
||
futhark = haskell.lib.justStaticExecutables haskellPackages.futhark; | ||
|
||
fwup = callPackage ../tools/misc/fwup { }; | ||
|
||
fzf = callPackage ../tools/misc/fzf { }; | ||
|
@@ -8600,7 +8602,7 @@ with pkgs; | |
|
||
msitools = callPackage ../development/tools/misc/msitools { }; | ||
|
||
multi-ghc-travis = haskell.lib.justStaticExecutables haskellPackages.multi-ghc-travis; | ||
haskell-ci = haskell.lib.justStaticExecutables haskellPackages.haskell-ci; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @basvandijk Why this change? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While moving the non-hackage packages to a dedicated file I discovered that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mmm maybe an alias might be in order here... |
||
|
||
neoload = callPackage ../development/tools/neoload { | ||
licenseAccepted = (config.neoload.accept_license or false); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@basvandijk These wrappers don't seem to be applied like this, building either
pkgs.futhark
orpkgs.haskellPackages.futhark
results in raw ELF binariesThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange, I did test if it created the correct wrappers but I can confirm it now results in ELF binaries. I'll look into it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should now be fixed by 2cdeee2 which I pushed to this PR.
@peti OK with this solution?