Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-5144

support for ppc64

    XMLWordPrintable

Details

    Description

      Currently, Maxscale build dependency install scripts do not support ppc64le architecture:

      install_npm.sh should detect ppc64, something like:

      #!/bin/bash
       
      function is_arm() {
          [ "$(arch)" == "aarch64" ]
      }
       
      function is_ppc() {
       
          [ "$(arch)" == "ppc64le" ]
      }
       
       
      if is_arm
      then
          node_arch=arm64
      else
          node_arch=x64
      fi
       
      if is_ppc
      then
          node_arch=ppc64le
      fi
       
      # NodeJS
      node_version=16.16.0
      wget --quiet https://nodejs.org/dist/v${node_version}/node-v${node_version}-linux-${node_arch}.tar.gz
      tar -axf node-v${node_version}-linux-${node_arch}.tar.gz
      sudo cp -t /usr -r node-v${node_version}-linux-${node_arch}/*
      
      

      install_cmake.sh - there is no ppc64le build of cmake at https://github.com/Kitware/CMake/releases/, but currently we build Maxscale only for RHEL9 which has proper cmake in the distro repo

      Also in case of CentOS 9 Steam the 'crb' repo should be enabled to allow unixODBC-devel and lua-devel installation (See install_build_depends.sh and install_test_build_depends.sh)

      Changes in the install dependency scripts are need to allow ppc64le builds in the CI

      Attachments

        Activity

          People

            markus makela markus makela
            tturenko Timofey Turenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.