blob: effc2ec27991784125dcbc57df4ce4214c4d2d61 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright 2013-2021 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 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:')
|