From 00df8322011942ddc607d3e1e109960536648b11 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Fri, 16 Dec 2022 10:43:47 +0100
Subject: [PATCH] [ogs] Switch vtk download git gitlab.

---
 ogscm/recipes/ogs.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ogscm/recipes/ogs.py b/ogscm/recipes/ogs.py
index f967d17..13e0d25 100644
--- a/ogscm/recipes/ogs.py
+++ b/ogscm/recipes/ogs.py
@@ -460,11 +460,11 @@ if local_args.ogs != "clean":
             Stage0 += generic_cmake(
                 cmake_opts=vtk_cmake_args,
                 devel_environment={"VTK_ROOT": "/usr/local/vtk"},
-                directory=f"VTK-{vtk_version}",
+                directory=f"vtk-v{vtk_version}",
                 ldconfig=True,
                 prefix="/usr/local/vtk",
                 toolchain=toolchain,
-                url=f"https://www.vtk.org/files/release/{vtk_version[:-2]}/VTK-{vtk_version}.tar.gz",
+                url=f"https://gitlab.kitware.com/vtk/vtk/-/archive/v{vtk_version}/vtk-v{vtk_version}.tar.gz",
             )
         if toolchain.CC == "mpicc":
             Stage0 += packages(yum=["diffutils"])
-- 
GitLab