blob: 2b492412a2530183c01edeadf2d972e0d4be0a3c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Copyright 2013-2024 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 Gccxml(CMakePackage):
"""gccxml dumps an XML description of C++ source code using an extension of
the GCC C++ compiler."""
homepage = "https://gccxml.github.io"
git = "https://github.com/gccxml/gccxml.git"
version("develop", branch="master")
version("latest", commit="3afa8ba5be6866e603dcabe80aff79856b558e24", preferred=True)
patch("darwin-gcc.patch", when="%gcc platform=darwin")
# taken from https://github.com/gccxml/gccxml/issues/11#issuecomment-140334118
patch("gcc-5.patch", when="%gcc@5:")
|