Skip to content

Instantly share code, notes, and snippets.

@AlexDBlack
Created November 28, 2019 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexDBlack/6f82449ae9c74eb5c86d4e3aef693e01 to your computer and use it in GitHub Desktop.
Save AlexDBlack/6f82449ae9c74eb5c86d4e3aef693e01 to your computer and use it in GitHub Desktop.
$ mvn install -pl libnd4j -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dlibnd4j.cuda=10.2 -Dlibnd4j.compute=61 && mvn clean install -Dmaven.test.skip -Dmaven.javadoc.skip=true -Dlibnd4j.cuda=10.2 -Dlibnd4j.compute=61 -pl '!libnd4j'
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.nd4j:libnd4j:pom:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.deeplearning4j:deeplearning4j:1.0.0-SNAPSHOT, C:\DL4J\Git\deeplearning4j\pom.xml, line 447, column 29
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.nd4j:nd4j-tests:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-compiler-plugin @ line 49, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.nd4j:nd4j-native:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-compiler-plugin @ org.nd4j:nd4j-native:[unknown-version], C:\DL4J\Git\deeplearning4j\nd4j\nd4j-backends\nd4j-backend-impls\nd4j-native\pom.xml, line 248, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.nd4j:nd4j-cuda-10.2:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-surefire-plugin @ org.nd4j:nd4j-cuda-10.2:[unknown-version], C:\DL4J\Git\deeplearning4j\nd4j\nd4j-backends\nd4j-backend-impls\nd4j-cuda\pom.xml, line 84, column 18
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-surefire-plugin @ org.nd4j:nd4j-cuda-10.2:[unknown-version], C:\DL4J\Git\deeplearning4j\nd4j\nd4j-backends\nd4j-backend-impls\nd4j-cuda\pom.xml, line 178, column 14
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-compiler-plugin @ org.nd4j:nd4j-cuda-10.2:[unknown-version], C:\DL4J\Git\deeplearning4j\nd4j\nd4j-backends\nd4j-backend-impls\nd4j-cuda\pom.xml, line 212, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.nd4j:nd4s_2.11:jar:1.0.0-SNAPSHOT
[WARNING] 'artifactId' contains an expression but should be a constant. @ org.nd4j:nd4s_${scala.binary.version}:[unknown-version], C:\DL4J\Git\deeplearning4j\nd4s\pom.xml, line 32, column 17
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.nd4j:nd4s_${scala.binary.version}:[unknown-version], C:\DL4J\Git\deeplearning4j\nd4s\pom.xml, line 279, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.deeplearning4j:jumpy:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:exec-maven-plugin is missing. @ org.deeplearning4j:jumpy:[unknown-version], C:\DL4J\Git\deeplearning4j\jumpy\pom.xml, line 121, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.deeplearning4j:jumpy:[unknown-version], C:\DL4J\Git\deeplearning4j\jumpy\pom.xml, line 90, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.deeplearning4j:deeplearning4j:1.0.0-SNAPSHOT, C:\DL4J\Git\deeplearning4j\pom.xml, line 447, column 29
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.deeplearning4j:pydatavec:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:exec-maven-plugin is missing. @ org.deeplearning4j:pydatavec:[unknown-version], C:\DL4J\Git\deeplearning4j\pydatavec\pom.xml, line 112, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.deeplearning4j:pydatavec:[unknown-version], C:\DL4J\Git\deeplearning4j\pydatavec\pom.xml, line 81, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.deeplearning4j:deeplearning4j:1.0.0-SNAPSHOT, C:\DL4J\Git\deeplearning4j\pom.xml, line 447, column 29
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.deeplearning4j:pydl4j:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:exec-maven-plugin is missing. @ org.deeplearning4j:pydl4j:[unknown-version], C:\DL4J\Git\deeplearning4j\pydl4j\pom.xml, line 121, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ org.deeplearning4j:pydl4j:[unknown-version], C:\DL4J\Git\deeplearning4j\pydl4j\pom.xml, line 90, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.deeplearning4j:deeplearning4j:1.0.0-SNAPSHOT, C:\DL4J\Git\deeplearning4j\pom.xml, line 447, column 29
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.deeplearning4j:deeplearning4j:pom:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 447, column 29
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building libnd4j 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ libnd4j ---
[INFO]
[INFO] --- javacpp:1.5.2:build (javacpp-cppbuild-validate) @ libnd4j ---
[INFO] Detected platform "windows-x86_64"
[INFO] Building for platform "windows-x86_64"
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:cpu-count (get-cpu-count) @ libnd4j ---
[INFO] CPU count: 16
[INFO]
[INFO] --- javacpp:1.5.2:build (javacpp-cppbuild-compile) @ libnd4j ---
[INFO] Detected platform "windows-x86_64"
[INFO] Building for platform "windows-x86_64"
[INFO] bash C:\DL4J\Git\deeplearning4j\libnd4j/buildnativeoperations.sh --build-type release --chip cpu --platform windows-x86_64 --chip-extension "" --chip-version 10.2 --compute 61 "" -j 16 -h ""
The parameter is incorrect.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.055 s
[INFO] Finished at: 2019-11-28T21:09:33+11:00
[INFO] Final Memory: 44M/619M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.bytedeco:javacpp:1.5.2:build (javacpp-cppbuild-compile) on project libnd4j: Execution javacpp-cppbuild-compile of goal org.bytedeco:javacpp:1.5.2:build failed: Process exited with an error: -1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment