intel-analytics / BigDL-core

Core HW bindings and optimizations for BigDL
Apache License 2.0
33 stars 36 forks source link

build failed:Source option 5 is no longer supported. Use 7 or later #151

Open pinggao187 opened 2 years ago

pinggao187 commented 2 years ago
[INFO] Compiling 1 source file to /private/var/jenkins_home/workspace/BigDL-Core-Release-CORE-test-Mac/mkl2017-xeon-blas/mkl-java-mac/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] Source option 5 is no longer supported. Use 7 or later.
[ERROR] Target option 5 is no longer supported. Use 7 or later.
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for BigDL-core 2.1.0-SNAPSHOT:
[INFO] 
[INFO] BigDL-core ......................................... SUCCESS [  0.098 s]
[INFO] mkl-parent ......................................... SUCCESS [  0.467 s]
[INFO] mkl-java-mac ....................................... FAILURE [  0.330 s]
[INFO] dnn-parent ......................................... SKIPPED
[INFO] bigquant-parent .................................... SKIPPED
[INFO] bigquant-java-mac .................................. SKIPPED
[INFO] opencv-parent ...................................... SKIPPED
[INFO] opencv-java-mac .................................... SKIPPED
[INFO] dist-parent ........................................ SKIPPED
[INFO] mac ................................................ SKIPPED
[INFO] linux64 ............................................ SKIPPED
[INFO] rh5 ................................................ SKIPPED
[INFO] all ................................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.350 s
[INFO] Finished at: 2022-04-07T16:49:58+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project mkl-java-mac: Compilation failure: Compilation failure: 
[ERROR] Source option 5 is no longer supported. Use 7 or later.
[ERROR] Target option 5 is no longer supported. Use 7 or later.

jenkins link: http://10.112.231.51:18888/view/ZOO-Release/job/BigDL-Core-Release-CORE-test-Mac/11/console

java -version
java version "17.0.2" 2022-01-18 LTS
mvn -version
Apache Maven 3.8.1
pinggao187 commented 2 years ago

[MAC]scalatest: java.lang.IllegalArgumentException: requirement failed: shape total size doesn't match data length #597

pinggao187 commented 2 years ago

@Le-Zheng @qiuxin2012 failed with both jdk1.7 and jdk1.8, pls have a look.