Commit a24911c1 authored by Ramon Nou's avatar Ramon Nou
Browse files

bugfix latest spack

parent eade8da9
Loading
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -39,6 +39,9 @@ class Gekkofs(CMakePackage):
            values=('Debug', 'Release', 'RelWithDebInfo')
            )

    depends_on("c", type="build")
    depends_on("cxx", type="build")

    variant('forwarding', default=False, description='Enables the GekkoFS I/O forwarding mode.')
    variant('agios', default=False, description='Enables the AGIOS scheduler for the forwarding mode.')
    variant('guided_distributor', default=False, description='Enables the guided distributor.')
@@ -75,8 +78,7 @@ class Gekkofs(CMakePackage):
    #0.9.4 specific
    depends_on('mercury@2.4.0 -debug +ofi -mpi -bmi +sm +shared +boostsys -checksum', when='@0.9.4,latest')
    depends_on('mochi-margo@0.18.3', when='@0.9.4,latest', type='link')
    depends_on('gcc@14.3.1', when='@0.9.4,latest')
    depends_on('rocksdb@9.4.0 -shared +static +lz4 -snappy -zlib -zstd -bz2 +rtti', when='@0.9.4,latest')
    depends_on('rocksdb@8.10.2 -shared +static +lz4 -snappy -zlib -zstd -bz2 +rtti', when='@0.9.4,latest')

    # Additional features
    # Agios I/O forwarding
+4 −4
Original line number Diff line number Diff line
@@ -62,8 +62,8 @@ class Rocksdb(MakefilePackage):
    phases = ["install"]

    def patch(self):
        # For rocksdb version 9.4.0, add the missing include.
        if self.spec.version == Version("9.4.0"):
        # For rocksdb version 8.10.2, add the missing include.
        if self.spec.version == Version("8.10.2"):
            # Find the line '#include <string>' and replace it with
            # itself, a newline, and then '#include <cstdint>'.
            filter_file(
@@ -72,8 +72,8 @@ class Rocksdb(MakefilePackage):
                "db/blob/blob_file_meta.h"
            )
            filter_file(
                r"#include \"rocksdb/attribute_groups.h\"",
                "#include \"rocksdb/attribute_groups.h\"\n#include <cstdint>",
                r"#include \"rocksdb/wide_columns.h\"",
                "#include \"rocksdb/wide_columns.h\"\n#include <cstdint>",
                "include/rocksdb/write_batch_base.h"
            )