google / google/visqol

ViSQOL not compiling on mac (and workaround!)

Open
#145 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
928
Forks
144
PR merge metrics
No merged PRs in 30d

Description

Recent combinations of macOS/clang fail at building old versions of zlib (<1.3.1) - [example github issue](https://github.com/racket/racket/issues/5412).

Workaround:
```
$ TF_SYSTEM_LIBS=zlib bazel build :visqol -c opt
```

I had to first expunge my failed build:
```
$ bazel clean --expunge
```
Also, bazel on hombrew is too new and old versions there only go back to the 8.x line, I downloaded the version bazel suggested in the error message

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.