[BUILD-576] Unavailable ND4J native libs fail dependency resolution on M1 Created: 08/Nov/21 Updated: 14/Nov/22 Resolved: 29/Apr/22 |
|
| Status: | Closed |
| Project: | Build |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Mikaël Geljić | Assignee: | Andrei Ichimescu |
| Resolution: | Won't Fix | Votes: | 1 |
| Labels: | authx | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||||||||||
| Epic Link: | Remove ranking from bundle | ||||||||||||||||||||||||||||||||
| Sprint: | AuthX 8 | ||||||||||||||||||||||||||||||||
| Description |
For release notes (see also
|
| Comments |
| Comment by Raphael Falvo [ 08/Nov/21 ] |
|
A workaround consists of excluding the ranker module from the Maven dependencies (thanks mgeljic for the tip) until those missing libraries exist for M1 In pom.xml of the web application, add the exclusions as below:
<dependencies>
<dependency>
<groupId>info.magnolia.dx</groupId>
<artifactId>magnolia-dx-core-demo-webapp</artifactId>
<type>war</type>
<exclusions>
<exclusion>
<groupId>info.magnolia.periscope</groupId>
<artifactId>magnolia-periscope-result-ranker</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>info.magnolia.dx</groupId>
<artifactId>magnolia-dx-core-demo-webapp</artifactId>
<type>pom</type>
<exclusions>
<exclusion>
<groupId>info.magnolia.periscope</groupId>
<artifactId>magnolia-periscope-result-ranker</artifactId>
</exclusion>
</exclusions>
</dependency>
|
| Comment by Mikaël Geljić [ 29/Mar/22 ] |
|
Reopening because this will only be solved when we remove the traces of DL4J/ND4J in the 3rd-party BOM (what causes the platform-specific maven resolution to fail). Should be all lines 2054 to 2160 (based on master/6.3-SNAPSHOT), https://git.magnolia-cms.com/projects/BUILD/repos/boms/browse/pom.xml#2054-2160, except commons-net, which got inserted in the middle. |
| Comment by Andrei Ichimescu [ 29/Apr/22 ] |
|
According to the library documentation (1.0.0-M2) the supported architectures do not include apple silicon:
https://github.com/eclipse/deeplearning4j/pull/9631#community-supportthere is a feature request that has never been addressed: people managed to get this running by changing the jdk according to the thread.
Since the periscope module has been donated to the community, I would mark this ticket as won't fix |