summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/TarWriterTest.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-12-05 10:24:15 +0000
committerPavel Labath <labath@google.com>2017-12-05 10:24:15 +0000
commit2da3397cdfd22be99e5752c18f0bbd0f75970acc (patch)
treefba4b7ebfdd9e0f47b7ad383ee3b84cb39c0f43d /llvm/unittests/Support/TarWriterTest.cpp
parentf91f0b0af790043956e9224564844f7545579cb7 (diff)
downloadbcm5719-llvm-2da3397cdfd22be99e5752c18f0bbd0f75970acc.tar.gz
bcm5719-llvm-2da3397cdfd22be99e5752c18f0bbd0f75970acc.zip
Re-commit "[cmake] Enable zlib support on windows"
This recommits r319533 which was broken llvm-config --system-libs output. The reason was that I used find_libraries for searching for the z library. This returns absolute paths, and when these paths made it into llvm-config, it made it produce nonsensical flags. To fix this, I hand-roll a search for the library in the same way that we search for the terminfo library a couple of lines below. This is a bit less flexible than the find_library option, as it does not allow the user to specify the path to the library at configure time (which is important on windows, as zlib is unlikely to be found in any of the standard places cmake searches), but I was able to guide the build to find it with appropriate values of LIB and INCLUDE environment variables. Reviewers: compnerd, rnk, beanz, rafael Subscribers: llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D40779 llvm-svn: 319751
Diffstat (limited to 'llvm/unittests/Support/TarWriterTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud