Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-24161

Provide a CMake option to disable the OQGraph backend

    XMLWordPrintable

Details

    Description

      OpenBSD has a diff like the following which I believe I copied from FreeBSD.

      Please provide a CMake option to disable the OQGraph backend to ensure reproducible builds of packages.

      Index: storage/oqgraph/CMakeLists.txt
      --- storage/oqgraph/CMakeLists.txt.orig
      +++ storage/oqgraph/CMakeLists.txt
      @@ -1,13 +1,12 @@
       set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
      +# Disable oqgraph storage engine
      +IF(TRUE)
      +  RETURN()
      +ENDIF()
       
       FUNCTION(CHECK_OQGRAPH)
       MESSAGE(STATUS "Configuring OQGraph")
       FIND_PACKAGE(Boost 1.40.0)
      -IF(NOT Boost_FOUND)
      -  MESSAGE(STATUS "Boost not found. OQGraph will not be compiled")
      -  SET(OQGRAPH_OK 0 CACHE INTERNAL "")
      -  RETURN()
      -ENDIF()
       INCLUDE_DIRECTORIES(BEFORE ${Boost_INCLUDE_DIRS})
       
       FIND_PACKAGE(Judy)
      

      Attachments

        Activity

          People

            danblack Daniel Black
            brad0 Brad Smith
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.