Skip to content

Commit

Permalink
orca: 6.0.0 -> 6.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepforce committed Nov 6, 2024
1 parent 6b4144e commit 06cb9d4
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions pkgs/by-name/orca/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ assert withCustomOtoolExternal -> customOtoolExternal != null;

stdenv.mkDerivation {
pname = "orca";
version = "6.0.0";
version = "6.0.1";

src =
if enableAvx2 then
requireFile {
name = "orca_6_0_0_linux_x86-64_avx2_shared_openmpi416.tar.xz";
sha256 = "sha256-AsISlO/nsbch4my5D5juFa1oLQKAcgG30hff5nkFov0=";
name = "orca_6_0_1_linux_x86-64_shared_openmpi416_avx2.tar.xz";
sha256 = "sha256-vbFKC2tJBkUx62zzgRtblbYozoildri4QrIBucN+Z3k=";
url = "https://orcaforum.kofo.mpg.de/app.php/portal";
} else
requireFile {
name = "orca_6_0_0_linux_x86-64_shared_openmpi416.tar.xz";
sha256 = "sha256-IZvR3rbWSmPLckcZJsuBZly7zewZ+clUl2G+Z9SaKcY=";
name = "orca_6_0_1_linux_x86-64_shared_openmpi416.tar.xz";
sha256 = "sha256-Wq2thvMj3S+p3ADJT/Oqf+bgBtdAqtikEMUJDOJuqYw=";
url = "https://orcaforum.kofo.mpg.de/app.php/portal";
};

Expand All @@ -56,9 +56,18 @@ stdenv.mkDerivation {
wrapProgram $out/bin/orca --prefix PATH : '${lib.getBin openmpi}/bin:${lib.getBin openssh}/bin'
# ORCA >= 6.0.1 comes with its own xTB binary.
# We replace it with ours to get optimisation and patches
rm $out/bin/otool_xtb
ln -s ${lib.getBin xtb}/bin/xtb $out/bin/otool_xtb
${lib.optionalString withCustomOtoolExternal "ln -s ${customOtoolExternal} $out/bin/otool_external"}
# Fix wrong linking of liborca_tools in all autoci executables
# see https://orcaforum.kofo.mpg.de/viewtopic.php?f=11&t=12483
for EXE in $out/bin/autoci_*; do
patchelf --replace-needed liborca_tools_6_0_0_avx2.so.6 liborca_tools_6_0_1_avx2.so.6 $EXE
done
runHook postInstall
'';

Expand Down

0 comments on commit 06cb9d4

Please sign in to comment.