Skip to content

Commit

Permalink
Merge pull request #212 from FNALssi/nulite-gcc13-std20
Browse files Browse the repository at this point in the history
Changes needed building on AL9 with gcc 13 and std20
  • Loading branch information
gartung authored Oct 20, 2023
2 parents 563f6a9 + 3b6ca77 commit 3e17b42
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions var/spack/repos/builtin/packages/catch2/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ class Catch2(CMakePackage):
description="C++ standard",
)

def patch(self):
filter_file(r'#include <vector>', '#include <vector>\n#include <cstdint>', 'src/catch2/internal/catch_string_manip.hpp')
filter_file(r'#include <vector>', '#include <vector>\n#include <cstdint>', 'src/catch2/internal/catch_xmlwriter.hpp')
filter_file(r'#include <vector>', '#include <vector>\n#include <cstdint>', 'src/catch2/catch_test_case_info.hpp')

def cmake_args(self):
spec = self.spec
args = []
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/davix/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Davix(CMakePackage):
variant(
"cxxstd",
default="11",
values=("11", "14", "17"),
values=("11", "14", "17", "20"),
multi=False,
description="Use the specified C++ standard when building.",
)
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/grpc/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Grpc(CMakePackage):
variant(
"cxxstd",
default="11",
values=("11", "14", "17"),
values=("11", "14", "17", "20"),
multi=False,
description="Use the specified C++ standard when building.",
)
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/intel-tbb/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class IntelTbb(CMakePackage, MakefilePackage):
variant(
"cxxstd",
default="default",
values=("default", "98", "11", "14", "17"),
values=("default", "98", "11", "14", "17", "20"),
multi=False,
description="Use the specified C++ standard when building.",
)
Expand Down
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/jsoncpp/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Jsoncpp(CMakePackage):
variant(
"cxxstd",
default="default",
values=("default", "98", "11", "14", "17"),
values=("default", "98", "11", "14", "17", "20"),
multi=False,
description="Use the specified C++ standard when building.",
)
Expand Down
1 change: 1 addition & 0 deletions var/spack/repos/builtin/packages/py-sphinx/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class PySphinx(PythonPackage):

maintainers("adamjstewart")

version("7.2.6", sha256="9a5160e1ea90688d5963ba09a2dcd8bdd526620edbb65c328728f1b2228d5ab5")
version("7.2.3", sha256="ece68bb4d77b7dc090573825db45a6f9183e74098d1c21573485de250b1d1e3f")
version("7.2.2", sha256="1c0abe6d4de7a6b2c2b109a2e18387bf27b240742e1b34ea42ac3ed2ac99978c")
version("7.2.1", sha256="dad5e865dcdeb1486f70d8963cc9140561836bb243c311868cf11eb0f741497a")
Expand Down

0 comments on commit 3e17b42

Please sign in to comment.