Add XCDF. (#41379)
This commit is contained in:
parent
70b16cfb59
commit
a632576231
19
var/spack/repos/builtin/packages/xcdf/package.py
Normal file
19
var/spack/repos/builtin/packages/xcdf/package.py
Normal file
@ -0,0 +1,19 @@
|
||||
# Copyright 2013-2023 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 *
|
||||
|
||||
|
||||
class Xcdf(CMakePackage):
|
||||
"""Binary data format designed to store data fields with user-specified accuracy."""
|
||||
|
||||
homepage = "https://github.com/jimbraun/XCDF"
|
||||
url = "https://github.com/jimbraun/XCDF/archive/refs/tags/v3.00.03.tar.gz"
|
||||
|
||||
license("BSD-2-Clause")
|
||||
|
||||
version("3.00.03", sha256="4e445a2fea947ba14505d08177c8d5b55856f8411f28de1fe4d4c00f6824b711")
|
||||
|
||||
patch("remove_python_support.patch")
|
@ -0,0 +1,12 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 3270f47..e5648d2 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -45,7 +45,6 @@ SET (XCDF_PATCH_VERSION 1 CACHE STRING "Patch number")
|
||||
# ------------------------------------------------------------------------------
|
||||
SET (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
|
||||
INCLUDE (Utility)
|
||||
-INCLUDE (Python)
|
||||
|
||||
INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR}/include)
|
||||
INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR}/include/utility)
|
Loading…
Reference in New Issue
Block a user