browsermt / bergamot-translator

Cross platform C++ library focusing on optimized machine translation on the consumer-grade device.
http://browser.mt
Mozilla Public License 2.0
339 stars 38 forks source link

Jenkins bergamot-translator #26 failed #39

Closed marianminion closed 3 years ago

marianminion commented 3 years ago

Build 'bergamot-translator' is failing!

Last 50 lines of build output:

[...truncated 1.69 KB...]
Checking out Revision c28687fffb1ceab1befc094f06ac0671108a2c5c (origin/integration)
Commit message: "Merge pull request #38 from browsermt/wasm-integration"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c28687fffb1ceab1befc094f06ac0671108a2c5c
 > git rev-list 38e8b3cd6d5a2db561ce201c3e69fb79c676389c # timeout=10
[bergamot-translator] $ /bin/sh -xe /tmp/jenkins6534391889599615024.sh
+ . /etc/environment
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
+ rm -rf build
+ mkdir -p build
+ cd build
+ CMAKE=/usr/bin/cmake
+ CC=/usr/bin/gcc-8 CXX=/usr/bin/g++-8 /usr/bin/cmake -DCOMPILE_CUDA=off -DCOMPILE_TESTS=OFF -DCOMPILE_EXAMPLES=OFF -DUSE_SENTENCEPIECE=ON -DCOMPILE_SERVER=OFF ..
-- The CXX compiler identification is GNU 8.4.0
-- The C compiler identification is GNU 8.4.0
-- Check for working CXX compiler: /usr/bin/g++-8
-- Check for working CXX compiler: /usr/bin/g++-8 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/gcc-8
-- Check for working C compiler: /usr/bin/gcc-8 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Submodule update
Submodule path '3rd_party/marian-dev': checked out '467c43a292a68b7913af2a00d353de97c1740f92'
Submodule 'src/3rd_party/onnxjs' (https://github.com/abhi-agg/onnxjs.git) registered for path '3rd_party/marian-dev/src/3rd_party/onnxjs'
Cloning into '/var/lib/jenkins/workspace/bergamot-translator/3rd_party/marian-dev/src/3rd_party/onnxjs'...
Submodule path '3rd_party/marian-dev/src/3rd_party/intgemm': checked out 'cc71e5c2a69755009667330af1f60a4ed15b5b63'
Submodule path '3rd_party/marian-dev/src/3rd_party/onnxjs': checked out 'dfefde914fcc79b4c0f9eafcfc97e4b606af700e'
Submodule 'deps/eigen' (https://github.com/abhi-agg/eigen-git-mirror.git) registered for path '3rd_party/marian-dev/src/3rd_party/onnxjs/deps/eigen'
Cloning into '/var/lib/jenkins/workspace/bergamot-translator/3rd_party/marian-dev/src/3rd_party/onnxjs/deps/eigen'...
Submodule path '3rd_party/marian-dev/src/3rd_party/onnxjs/deps/eigen': checked out 'fff37f4ca0397af9ed7e04f3bd6b893a1ea2b08e'
From https://github.com/marian-nmt/sentencepiece
 * branch            bd18c834559ef4a25fa3a740b97465df2daae6eb -> FETCH_HEAD
Submodule path '3rd_party/marian-dev/src/3rd_party/sentencepiece': checked out 'bd18c834559ef4a25fa3a740b97465df2daae6eb'
From https://github.com/ugermann/ssplit-cpp
 * branch            432208826ee27e7b3984b53774b1a16d74256d77 -> FETCH_HEAD
Submodule path '3rd_party/ssplit-cpp': checked out '432208826ee27e7b3984b53774b1a16d74256d77'
CMake Error at 3rd_party/marian-dev/CMakeLists.txt:42 (add_compile_definitions):
  Unknown CMake command "add_compile_definitions".

-- Configuring incomplete, errors occurred!
See also "/var/lib/jenkins/workspace/bergamot-translator/build/CMakeFiles/CMakeOutput.log".
Build step 'Execute shell' marked build as failure

Changes since last successful build:

View full output

marianminion commented 3 years ago

Build was fixed!