mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
treewide: remove explicit OMP_NUM_THREADS where openmpCheckPhaseHook is in effect
This commit is contained in:
parent
ef8b8d8f58
commit
d5ae461bf7
15 changed files with 0 additions and 52 deletions
|
|
@ -89,10 +89,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
doCheck = true;
|
||||
|
||||
preCheck = ''
|
||||
export OMP_NUM_THREADS=2
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
|
|
|||
|
|
@ -81,10 +81,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
app/tester.py
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
export OMP_NUM_THREADS=2
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Generally Applicable Atomic-Charge Dependent London Dispersion Correction";
|
||||
changelog = "https://github.com/dftd4/dftd4/releases/tag/${finalAttrs.src.tag}";
|
||||
|
|
|
|||
|
|
@ -116,9 +116,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
preCheck = ''
|
||||
#patchShebangs ./
|
||||
|
||||
# Run dual threaded
|
||||
export OMP_NUM_THREADS=2
|
||||
|
||||
# Reduce test problem sizes
|
||||
export TEST_FLAGS="1500 50 16"
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
"-lblas"
|
||||
"-llapack"
|
||||
];
|
||||
OMP_NUM_THREADS = 2; # required for check phase
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
|
|||
|
|
@ -34,10 +34,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
# Uses a hacky python setup run by cmake, which is hard to get running
|
||||
doCheck = false;
|
||||
|
||||
preCheck = ''
|
||||
export OMP_NUM_THREADS=2
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Library for Green’s function based electronic structure theory calculations";
|
||||
license = [ lib.licenses.asl20 ];
|
||||
|
|
|
|||
|
|
@ -63,10 +63,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
doCheck = true;
|
||||
|
||||
preCheck = ''
|
||||
export OMP_NUM_THREADS=2
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs --build config/install-mod.py
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -39,10 +39,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
doCheck = true;
|
||||
|
||||
preCheck = ''
|
||||
export OMP_NUM_THREADS=2
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Semiempirical quantum chemistry";
|
||||
homepage = "https://github.com/openmopac/mopac";
|
||||
|
|
|
|||
|
|
@ -59,8 +59,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
doCheck = true;
|
||||
|
||||
preCheck = "export OMP_NUM_THREADS=2";
|
||||
|
||||
meta = {
|
||||
description = "MIT Photonic-Bands: computation of photonic band structures in periodic media";
|
||||
homepage = "https://mpb.readthedocs.io/en/latest/";
|
||||
|
|
|
|||
|
|
@ -80,10 +80,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
echo 'set(custom-lapack_FOUND TRUE)' >> config/cmake/Findcustom-lapack.cmake
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
export OMP_NUM_THREADS=2
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Electronegativity equilibration model for atomic partial charges";
|
||||
mainProgram = "multicharge";
|
||||
|
|
|
|||
|
|
@ -90,10 +90,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
doCheck = true;
|
||||
|
||||
preCheck = ''
|
||||
export OMP_NUM_THREADS=2
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
|
|
|||
|
|
@ -61,11 +61,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
"-Dneon=disabled"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
# https://gitlab.freedesktop.org/pixman/pixman/-/issues/62
|
||||
export OMP_NUM_THREADS=$((NIX_BUILD_CORES > 184 ? 184 : NIX_BUILD_CORES))
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = !stdenv.hostPlatform.isDarwin;
|
||||
|
|
|
|||
|
|
@ -73,9 +73,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
doCheck = true;
|
||||
checkInputs = [ python3 ];
|
||||
checkTarget = [ "test-serial" ];
|
||||
preCheck = ''
|
||||
export OMP_NUM_THREADS=4
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -89,9 +89,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
];
|
||||
|
||||
doCheck = true;
|
||||
preCheck = ''
|
||||
export OMP_NUM_THREADS=2
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--version=branch" ];
|
||||
|
|
|
|||
|
|
@ -64,9 +64,6 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
doCheck = true;
|
||||
preCheck = ''
|
||||
export OMP_NUM_THREADS=2
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Reimplementation of the DFT-D3 program";
|
||||
|
|
|
|||
|
|
@ -100,10 +100,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
doCheck = buildType == "meson";
|
||||
|
||||
preCheck = ''
|
||||
export OMP_NUM_THREADS=2
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Light-weight tight-binding framework";
|
||||
mainProgram = "tblite";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue