[PATCH] D74102: [CMake] Link against ZLIB::ZLIB

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 01:32:28 PST 2020


foad added a comment.

Hi @phosek, my local check builds are failing with:

  $ ninja check-llvm-bindings-go
  [0/1] Running lit suite /home/jayfoad2/git/llvm-project/llvm/test/Bindings/Go
  FAIL: LLVM :: Bindings/Go/go.test (1 of 1)
  ******************** TEST 'LLVM :: Bindings/Go/go.test' FAILED ********************
  Script:
  --
  : 'RUN: at line 1';   /home/jayfoad2/llvm-debug/bin/llvm-go go=/usr/bin/go test llvm.org/llvm/bindings/go/llvm
  --
  Exit Code: 1
  
  Command Output (stdout):
  --
  FAIL	llvm.org/llvm/bindings/go/llvm [build failed]
  
  --
  Command Output (stderr):
  --
  + : 'RUN: at line 1'
  + /home/jayfoad2/llvm-debug/bin/llvm-go go=/usr/bin/go test llvm.org/llvm/bindings/go/llvm
  # llvm.org/llvm/bindings/go/llvm
  /usr/bin/ld.lld: error: unable to find library -lZLIB::ZLIB
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  
  --
  
  ********************
  
  Testing Time: 12.58s
  ********************
  Failing Tests (1):
      LLVM :: Bindings/Go/go.test
  
    Unexpected Failures: 1
  FAILED: test/CMakeFiles/check-llvm-bindings-go 
  cd /home/jayfoad2/llvm-debug/test && /usr/bin/python2.7 /home/jayfoad2/llvm-debug/./bin/llvm-lit -s -vv /home/jayfoad2/git/llvm-project/llvm/test/Bindings/Go
  ninja: build stopped: subcommand failed.

Can you advise?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74102/new/

https://reviews.llvm.org/D74102





More information about the llvm-commits mailing list