Uploaded image for project: 'Build'
  1. Build
  2. BUILD-576

Unavailable ND4J native libs fail dependency resolution on M1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • None
    • None
    • AuthX 8

      For release notes (see also MGNLPER-154 Remove ranking):

      • Remove ranking will be unbundled from DX Core
      • but still available to use, if there's a wish to do so
      • from version 6.2.x, and hence, it will come as unbundled in 6.3. branch (relevant for release notes) 

       

      —on behalf of rfalvo, building the project archetype on a M1 Mac fails eagerly at dependency resolution time (even a dependency:tree fails), due to a non-existing nd4j native library for this platform.

      this yields a javacpp.platform of “macosx-arm64” which causes maven + nd4j-native-platform to try to pull artifacts that don’t exist.

      —via https://community.konduit.ai/t/support-for-apple-silicon-m1/1168

      [ERROR] Failed to execute goal on project magnolia-customer-data-platform-demo-webapp: Could not resolve dependencies for project info.magnolia.demo:magnolia-customer-data-platform-demo-webapp:war:1.0-SNAPSHOT: The following artifacts could not be resolved: org.nd4j:nd4j-native:jar:macosx-arm64:1.0.0-beta7, org.bytedeco:javacpp:jar:macosx-arm64:1.5.3, org.bytedeco:openblas:jar:macosx-arm64:0.3.9-1-1.5.3: org.nd4j:nd4j-native:jar:macosx-arm64:1.0.0-beta7 was not found in https://nexus.magnolia-cms.com/content/groups/staff during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of magnolia.nexus has elapsed or updates are forced -> [Help 1]
      

        Acceptance criteria

              aichimescu Andrei Ichimescu
              mgeljic Mikaël Geljić
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: