Skip to content

MacOS workaround instructions out of date. #17

@danielamar101

Description

@danielamar101

Hello,

I am having a difficult time building this package.

This command: pip install --user fast-bleu --install-option="--CC=<path-to-gcc>" --install-option="--CXX=<path-to-g++>"
no longer works on recent versions of pip. I have even attempted to build the package with python setup.py build, and attempting to pass in:

CC=/usr/local/Cellar/gcc@10/10.5.0/bin/gcc-10
CXX=/usr/local/Cellar/gcc@10/10.5.0/bin/g++-10
LDFLAGS="-L/usr/local/opt/llvm/lib"
CPPFLAGS="-I/usr/local/opt/llvm/include"

I attempted using xcode-select --install to obtain the stdlib headers. I've install gcc@10 and tried 12 as well. I also downloaded llvm and libomp from brew.Not sure what else to try at this moment. I know its probably something borked in my environment, but I cannot figure it out. Any help would be fantastic.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions