From 8514ffe9497640d829467ca4f586e5ec0d6e3a07 Mon Sep 17 00:00:00 2001 From: Dominic Hofer <6570912+dominichofer@users.noreply.github.com> Date: Fri, 23 Feb 2024 15:14:27 +0100 Subject: [PATCH] [fdb] Remove package and tests --- repos/c2sm/packages/fdb/package.py | 28 ---------------------------- test/integration_test.py | 6 ------ test/system_test.py | 11 ----------- 3 files changed, 45 deletions(-) delete mode 100644 repos/c2sm/packages/fdb/package.py diff --git a/repos/c2sm/packages/fdb/package.py b/repos/c2sm/packages/fdb/package.py deleted file mode 100644 index d11e599e5c..0000000000 --- a/repos/c2sm/packages/fdb/package.py +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other -# Spack Project Developers. See the top-level COPYRIGHT file for details. -# -# SPDX-License-Identifier: (Apache-2.0 OR MIT) - -from spack.package import * -from spack.pkg.builtin.fdb import Fdb as SpackFdb - - -class Fdb(SpackFdb): - """FDB (Fields DataBase) is a domain-specific object store developed at - ECMWF for storing, indexing and retrieving GRIB data.""" - - version("5.11.17", - sha256= - "375c6893c7c60f6fdd666d2abaccb2558667bd450100817c0e1072708ad5591e") - - depends_on("ecbuild@3.7:", type="build", when="@5.11.6:") - - @property - def libs(self): - return find_libraries("libfdb5", - root=self.prefix, - shared=True, - recursive=True) - - def setup_build_environment(self, env): - env.set('CTEST_OUTPUT_ON_FAILURE', 1) diff --git a/test/integration_test.py b/test/integration_test.py index 396db2110b..9b75c03ad2 100644 --- a/test/integration_test.py +++ b/test/integration_test.py @@ -70,9 +70,6 @@ def test_eccodes(self): def test_fckit(self): spack_info('fckit') - def test_fdb(self): - spack_info('fdb') - def test_fdb_fortran(self): spack_info('fdb-fortran') @@ -284,9 +281,6 @@ def test_eccodes(self): def test_fckit(self): spack_spec('fckit') - def test_fdb(self): - spack_info('fdb') - def test_fdb_fortran(self): spack_spec('fdb-fortran') diff --git a/test/system_test.py b/test/system_test.py index 7d9982d5b3..f1c6098962 100644 --- a/test/system_test.py +++ b/test/system_test.py @@ -298,17 +298,6 @@ def test_install_0_9_0(self): spack_install_and_test('fckit@0.9.0') -@pytest.mark.no_tsa # FDB tests fail on tsa due to 'ucp_context' -class FdbTest(unittest.TestCase): - - def test_install_5_11_17_gcc(self): - spack_install_and_test('fdb @5.11.17 %gcc') - - def test_install_5_11_17_nvhpc(self): - # tests fail because compiler emitted warnings. - spack_install(f'fdb @5.11.17 %{nvidia_compiler}') - - class FdbFortranTest(unittest.TestCase): def test_install(self):