git.iko.soy/typeable/nixpkgs
on master help sign in
opae: init at 1.0.0

OPAE is a software toolchain and for integration and use of programmable accelerators, currently supporting Intel Arria 10 and Stratix 10 FPGAs. This package only contains the userspace software SDK tools and C libraries -- not the OPAE Linux drivers. Signed-off-by: Austin Seipp <aseipp@pobox.com>

commit5f116f189e415352c8138ffea841d0dcec6ac900 authorAustin Seipp <aseipp@pobox.com> dateMon 11 Jun 2018, 02:52 (8 years ago) parentd9d01b5
2 files changed+46
pkgs/development/libraries/opae/default.nix+44 pkgs/top-level/all-packages.nix+2
pkgs/development/libraries/opae/default.nixnew file+44
@@ -0,0 +1,44 @@
1+{ stdenv, fetchFromGitHub, cmake
2+, libuuid, json_c
3+, doxygen, perl, python2, python2Packages
4+}:
5+
6+stdenv.mkDerivation rec {
7+ name = "opae-${version}";
8+ version = "1.0.0";
9+
10+ # the tag has a silly name for some reason. drop this in the future if
11+ # possible
12+ tver = "${version}-5";
13+
14+ src = fetchFromGitHub {
15+ owner = "opae";
16+ repo = "opae-sdk";
17+ rev = "refs/tags/${tver}";
18+ sha256 = "1dmkpnr9dqxwjhbdzx2r3fdfylvinda421yyg319am5gzlysxwi8";
19+ };
20+
21+ doCheck = false;
22+
23+ nativeBuildInputs = [ cmake doxygen perl python2Packages.sphinx ];
24+ buildInputs = [ libuuid json_c python2 ];
25+
26+ # Set the Epoch to 1980; otherwise the Python wheel/zip code
27+ # gets very angry
28+ preConfigure = ''
29+ find . -type f | while read file; do
30+ touch -d @315532800 $file;
31+ done
32+ '';
33+
34+ cmakeFlags = [ "-DBUILD_ASE=1" ];
35+ enableParallelBuilding = true;
36+
37+ meta = with stdenv.lib; {
38+ description = "Open Programmable Acceleration Engine SDK";
39+ homepage = https://01.org/opae;
40+ license = licenses.bsd3;
41+ platforms = [ "x86_64-linux" ];
42+ maintainers = with maintainers; [ thoughtpolice ];
43+ };
44+}
pkgs/top-level/all-packages.nix+2
@@ -4241,6 +4241,8 @@ with pkgs;
42414241
42424242 update-resolv-conf = callPackage ../tools/networking/openvpn/update-resolv-conf.nix { };
42434243
4244+ opae = callPackage ../development/libraries/opae { };
4245+
42444246 openvswitch = callPackage ../os-specific/linux/openvswitch { };
42454247
42464248 optipng = callPackage ../tools/graphics/optipng {