Compare commits
	
		
			13 Commits
		
	
	
		
			4ba86c9ec0
			...
			0071638701
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 0071638701 | |||
| a57e16854d | |||
| 0e094a4de2 | |||
| f7773ab344 | |||
| 15526b4c98 | |||
| d87548dc35 | |||
| 1fee034d1c | |||
| 92df819edb | |||
| 6f169f4f5f | |||
| 194dd24705 | |||
| f4f034c46f | |||
| 7dd80ef936 | |||
| 2c8d7ed855 | 
| @ -27,10 +27,13 @@ stdenv.mkDerivation rec { | ||||
|     rev = gitCommit; | ||||
|   }; | ||||
| 
 | ||||
|   buildInputs = [ | ||||
|     bigotes | ||||
|   nativeBuildInputs = [ | ||||
|     cmake | ||||
|     clangOmpss2 | ||||
|   ]; | ||||
| 
 | ||||
|   buildInputs = [ | ||||
|     bigotes | ||||
|     openmp | ||||
|     openmpv | ||||
|     nanos6 | ||||
|  | ||||
| @ -4,7 +4,7 @@ | ||||
| , cmake | ||||
| }: | ||||
| 
 | ||||
| stdenv.mkDerivation rec { | ||||
| stdenv.mkDerivation { | ||||
|   pname = "bigotes"; | ||||
|   version = "9dce13"; | ||||
|   src = fetchFromGitHub { | ||||
| @ -13,5 +13,5 @@ stdenv.mkDerivation rec { | ||||
|     rev = "9dce13446a8da30bea552d569d260d54e0188518"; | ||||
|     sha256 = "sha256-ktxM3pXiL8YXSK+/IKWYadijhYXqGoLY6adLk36iigE="; | ||||
|   }; | ||||
|   buildInputs = [ cmake ]; | ||||
|   nativeBuildInputs = [ cmake ]; | ||||
| } | ||||
|  | ||||
| @ -78,7 +78,7 @@ let | ||||
|   uncompressDebs = debs: name: stdenv.mkDerivation { | ||||
|     name = name; | ||||
|     srcs = debs; | ||||
|     buildInputs = [ dpkg ]; | ||||
|     nativeBuildInputs = [ dpkg ]; | ||||
|     phases = [ "installPhase" ]; | ||||
|     installPhase = '' | ||||
|       mkdir -p $out | ||||
| @ -108,14 +108,17 @@ let | ||||
|       "intel-oneapi-mpi-${version}" | ||||
|     ]; | ||||
| 
 | ||||
|     buildInputs = [ | ||||
|     nativeBuildInputs = [ | ||||
|       autoPatchelfHook | ||||
|       rsync | ||||
|     ]; | ||||
| 
 | ||||
|     buildInputs = [ | ||||
|       libfabric | ||||
|       zlib | ||||
|       stdenv.cc.cc.lib | ||||
|     ]; | ||||
| 
 | ||||
|     nativeBuildInputs = [ autoPatchelfHook ]; | ||||
|     phases = [ "installPhase" "fixupPhase" ]; | ||||
|     dontStrip = true; | ||||
|     installPhase = '' | ||||
| @ -154,7 +157,6 @@ let | ||||
| 
 | ||||
|     buildInputs = [ | ||||
|       intel-mpi | ||||
|       rsync | ||||
|       libffi_3_3 | ||||
|       libelf | ||||
|       libxml2 | ||||
| @ -162,7 +164,10 @@ let | ||||
|       stdenv.cc.cc.lib | ||||
|     ]; | ||||
| 
 | ||||
|     nativeBuildInputs = [ autoPatchelfHook ]; | ||||
|     nativeBuildInputs = [ | ||||
|       autoPatchelfHook | ||||
|       rsync | ||||
|     ]; | ||||
|     phases = [ "installPhase" "fixupPhase" ]; | ||||
|     dontStrip = true; | ||||
| 
 | ||||
| @ -192,7 +197,6 @@ let | ||||
|     buildInputs = [ | ||||
|       intel-mpi | ||||
|       intel-tbb | ||||
|       rsync | ||||
|       libffi_3_3 | ||||
|       libelf | ||||
|       libxml2 | ||||
| @ -201,7 +205,10 @@ let | ||||
|       stdenv.cc.cc.lib | ||||
|     ]; | ||||
| 
 | ||||
|     nativeBuildInputs = [ autoPatchelfHook ]; | ||||
|     nativeBuildInputs = [ | ||||
|       autoPatchelfHook | ||||
|       rsync | ||||
|     ]; | ||||
|     phases = [ "installPhase" "fixupPhase" ]; | ||||
|     dontStrip = true; | ||||
| 
 | ||||
| @ -254,7 +261,6 @@ let | ||||
|     buildInputs = [ | ||||
|       intel-mpi | ||||
|       intel-compiler-shared | ||||
|       rsync | ||||
|       libffi_3_3 | ||||
|       libelf | ||||
|       libxml2 | ||||
| @ -262,7 +268,10 @@ let | ||||
|       stdenv.cc.cc.lib | ||||
|     ]; | ||||
| 
 | ||||
|     nativeBuildInputs = [ autoPatchelfHook ]; | ||||
|     nativeBuildInputs = [ | ||||
|       autoPatchelfHook | ||||
|       rsync | ||||
|     ]; | ||||
| 
 | ||||
|     phases = [ "installPhase" "fixupPhase" ]; | ||||
| 
 | ||||
| @ -337,7 +346,6 @@ let | ||||
| 
 | ||||
|     buildInputs = [ | ||||
|       intel-compiler-shared | ||||
|       rsync | ||||
|       libffi_3_3 | ||||
|       libelf | ||||
|       libxml2 | ||||
| @ -345,7 +353,10 @@ let | ||||
|       stdenv.cc.cc.lib | ||||
|     ]; | ||||
| 
 | ||||
|     nativeBuildInputs = [ autoPatchelfHook ]; | ||||
|     nativeBuildInputs = [ | ||||
|       autoPatchelfHook | ||||
|       rsync | ||||
|     ]; | ||||
|     autoPatchelfIgnoreMissingDeps = [ "libtbb.so.12" "libtbbmalloc.so.2" "libze_loader.so.1" ]; | ||||
| 
 | ||||
|     phases = [ "installPhase" "fixupPhase" ]; | ||||
|  | ||||
| @ -57,18 +57,20 @@ in stdenv.mkDerivation rec { | ||||
| 
 | ||||
|   isClangWithOmpss = true; | ||||
| 
 | ||||
|   nativeBuildInputs = [ zlib ]; | ||||
| 
 | ||||
|   buildInputs = [ | ||||
|     which | ||||
|   nativeBuildInputs = [ | ||||
|     bash | ||||
|     cmake | ||||
|     elfutils | ||||
|     llvmPackages_latest.lld | ||||
|     pkg-config | ||||
|     python3 | ||||
|     perl | ||||
|     cmake | ||||
|     llvmPackages_latest.lld | ||||
|     elfutils | ||||
|     which | ||||
|     zlib | ||||
|   ]; | ||||
| 
 | ||||
|   buildInputs = [ | ||||
|     libffi | ||||
|     pkg-config | ||||
|     zlib | ||||
|     gcc.cc.lib # Required for libstdc++.so.6 | ||||
|   ]; | ||||
|  | ||||
| @ -32,19 +32,22 @@ stdenv.mkDerivation rec { | ||||
| 
 | ||||
|   enableParallelBuilding = true; | ||||
| 
 | ||||
|   buildInputs = [ | ||||
|   nativeBuildInputs = [ | ||||
|     autoreconfHook | ||||
|     nanos6 | ||||
|     gperf | ||||
|     bison | ||||
|     flex | ||||
|     python3 | ||||
|     gfortran | ||||
|     pkg-config | ||||
|     sqlite.dev | ||||
|     bison | ||||
|     flex | ||||
|     gperf | ||||
|     gcc | ||||
|   ]; | ||||
| 
 | ||||
|   buildInputs = [ | ||||
|     nanos6 | ||||
|     sqlite.dev | ||||
|   ]; | ||||
| 
 | ||||
|   patches = [ ./intel.patch ]; | ||||
| 
 | ||||
|   preConfigure = '' | ||||
|  | ||||
| @ -88,11 +88,19 @@ in | ||||
|     dontStrip = enableDebug; | ||||
|     separateDebugInfo = true; | ||||
| 
 | ||||
|     buildInputs = [ | ||||
|     nativeBuildInputs = [ | ||||
|       autoconf | ||||
|       automake | ||||
|       libtool | ||||
|       pkg-config | ||||
| 
 | ||||
|       # TODO: papi_version is needed for configure: | ||||
|       # ./configure: line 27378: papi_version: command not found | ||||
|       # This probably breaks cross-compilation | ||||
|       papi | ||||
|     ]; | ||||
| 
 | ||||
|     buildInputs = [ | ||||
|       boost | ||||
|       numactl | ||||
|       hwloc | ||||
| @ -104,7 +112,7 @@ in | ||||
|     postInstall = '' | ||||
|       mkdir -p $out/nix-support | ||||
|       echo "export NANOS6_HOME=$out" >> $out/nix-support/setup-hook | ||||
|     '';  | ||||
|     ''; | ||||
| 
 | ||||
|     meta = with lib; { | ||||
|       homepage = "https://github.com/bsc-pm/nanos6"; | ||||
|  | ||||
| @ -6,6 +6,8 @@ | ||||
| , pkg-config | ||||
| , numactl | ||||
| , hwloc | ||||
| , papi | ||||
| , enablePapi ? true | ||||
| , cacheline ? 64 # bits | ||||
| , ovni ? null | ||||
| , useGit ? false | ||||
| @ -56,5 +58,5 @@ in | ||||
|       numactl | ||||
|       hwloc | ||||
|       ovni | ||||
|     ]; | ||||
|     ] ++ lib.optionals enablePapi [ papi ]; | ||||
|   } | ||||
|  | ||||
| @ -24,9 +24,10 @@ stdenv.mkDerivation rec { | ||||
| 
 | ||||
|   doCheck = true; | ||||
|   enableParallelBuilding = true; | ||||
|   nativeBuildInputs = [ mpiAll ]; | ||||
|   buildInputs = [ mpiAll ]; | ||||
|   hardeningDisable = [ "all" ]; | ||||
|   configureFlags = [  | ||||
|   configureFlags = [ | ||||
|       "CC=mpicc" | ||||
|       "CXX=mpicxx" | ||||
|   ]; | ||||
| @ -40,7 +41,7 @@ stdenv.mkDerivation rec { | ||||
| 
 | ||||
|   meta = { | ||||
|     description = "OSU Micro-Benchmarks"; | ||||
|     homepage = http://mvapich.cse.ohio-state.edu/benchmarks/; | ||||
|     homepage = "http://mvapich.cse.ohio-state.edu/benchmarks/"; | ||||
|     maintainers = [ ]; | ||||
|     platforms = lib.platforms.all; | ||||
|   }; | ||||
|  | ||||
| @ -13,8 +13,6 @@ | ||||
| , useMpi ? (stdenv.buildPlatform.canExecute stdenv.hostPlatform) | ||||
| }: | ||||
| 
 | ||||
| with lib; | ||||
| 
 | ||||
| let | ||||
|   release = rec { | ||||
|     version = "1.12.0"; | ||||
| @ -45,8 +43,7 @@ in | ||||
|     postPatch = '' | ||||
|       patchShebangs --build test/ | ||||
|     ''; | ||||
|     nativeBuildInputs = [ cmake ]; | ||||
|     buildInputs = lib.optionals (useMpi) [ mpi ]; | ||||
|     nativeBuildInputs = [ cmake ] ++ lib.optionals (useMpi) [ mpi ]; | ||||
|     cmakeBuildType = if (enableDebug) then "Debug" else "Release"; | ||||
|     cmakeFlags = [ | ||||
|       "-DOVNI_GIT_COMMIT=${src.shortRev}" | ||||
|  | ||||
| @ -60,17 +60,17 @@ stdenv.mkDerivation rec { | ||||
|   ]; | ||||
| 
 | ||||
|   nativeBuildInputs = [ | ||||
|     autoconf | ||||
|     automake | ||||
|     autoreconfHook | ||||
|     wrapGAppsHook | ||||
|   ]; | ||||
| 
 | ||||
|   buildInputs = [ | ||||
|     autoreconfHook | ||||
|     boost | ||||
|     libxml2.dev | ||||
|     xml2 | ||||
|     wx | ||||
|     autoconf | ||||
|     automake | ||||
|     paraverKernel | ||||
|     openssl.dev | ||||
|   ]; | ||||
|  | ||||
| @ -44,14 +44,17 @@ stdenv.mkDerivation rec { | ||||
|     "--enable-openmp" | ||||
|   ]; | ||||
| 
 | ||||
|   buildInputs = [ | ||||
|   nativeBuildInputs = [ | ||||
|     autoreconfHook | ||||
|     boost | ||||
|     libxml2.dev | ||||
|     xml2 | ||||
|     autoconf | ||||
|     automake | ||||
|     pkg-config | ||||
|   ]; | ||||
| 
 | ||||
|   buildInputs = [ | ||||
|     boost | ||||
|     libxml2.dev | ||||
|     xml2 | ||||
|     zlib | ||||
|   ]; | ||||
| } | ||||
|  | ||||
| @ -61,13 +61,16 @@ stdenv.mkDerivation rec { | ||||
|     "--with-wx-config=${wx}/bin/wx-config" | ||||
|   ]; | ||||
| 
 | ||||
|   nativeBuildInputs = [ | ||||
|     autoconf | ||||
|     automake | ||||
|   ]; | ||||
| 
 | ||||
|   buildInputs = [ | ||||
|     boost | ||||
|     xml2 | ||||
|     libxml2.dev | ||||
|     wx | ||||
|     autoconf | ||||
|     automake | ||||
|     openssl.dev | ||||
|   ]; | ||||
| 
 | ||||
|  | ||||
| @ -18,8 +18,12 @@ stdenv.mkDerivation rec { | ||||
|   hardeningDisable = [ "all" ]; | ||||
|   dontStrip = true; | ||||
|   configureFlags = [ "--with-ovni=${ovni}" ]; | ||||
|   buildInputs = [ | ||||
| 
 | ||||
|   nativeBuildInputs = [ | ||||
|     autoreconfHook | ||||
|   ]; | ||||
| 
 | ||||
|   buildInputs = [ | ||||
|     ovni | ||||
|     mpi | ||||
|   ]; | ||||
|  | ||||
| @ -8,7 +8,6 @@ | ||||
| , gnumake | ||||
| , boost | ||||
| , mpi | ||||
| , gcc | ||||
| , autoreconfHook | ||||
| , enableOvni ? true | ||||
| , ovni ? null | ||||
| @ -41,20 +40,23 @@ let | ||||
|     }; | ||||
|   }; | ||||
|   source = if (useGit) then git else release; | ||||
| in stdenv.mkDerivation rec { | ||||
| in stdenv.mkDerivation { | ||||
|   pname = "tampi"; | ||||
|   inherit (source) src version; | ||||
|   enableParallelBuilding = true; | ||||
|   separateDebugInfo = true; | ||||
|   buildInputs = [ | ||||
|     autoreconfHook | ||||
|     automake | ||||
| 
 | ||||
|   nativeBuildInputs = [ | ||||
|     autoconf | ||||
|     libtool | ||||
|     automake | ||||
|     autoreconfHook | ||||
|     gnumake | ||||
|     libtool | ||||
|   ]; | ||||
| 
 | ||||
|   buildInputs = [ | ||||
|     boost | ||||
|     mpi | ||||
|     gcc | ||||
|   ] ++ optional (enableOvni) ovni; | ||||
|   configureFlags = optional (enableOvni) "--with-ovni=${ovni}"; | ||||
|   dontDisableStatic = true; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user