Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-1768

Build WASM extensions on non-86 machines

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • Envoy
    • False
    • False
    • Undefined

      Currently some build tools (binaryen, any other?) are only built for x86. Since the build of WASM extensions rely on those tools, they can only be built on x86 machines.

      The short-term solution for 2.1.0 is:

      • Create another repo, servicemesh-proxy-wasm, which is built (ExclusiveArch) only on x86 and produces a .noarch RPM, with only the WASM files in it.
      • Patch servicemesh-proxy .spec to not build wasm extensions anymore and, instead, to Requires servicemesh-proxy-wasm. So, both packages will end up installed in proxy container for all arches.

      Once we are able to build WASM extensions on non-86 machines, we can revert the changes mentioned above, and have servicemesh-proxy RPM built with both Envoy and extensions.

       

              Unassigned Unassigned
              jsantana@redhat.com Jonh Wendell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: