Open trbabb opened 7 years ago
If you set MACOSX_DEPLOYMENT_TARGET=10.9
in your environment, the build should pick it up (that's what our conda recipes do). I'm curious why it is defaulting to 10.6, since the CMake file should set it to 10.9 by default?
Yep, if I manually set that variable in my shell and build, looks like it compiles.
But that is my question too: Why doesn't it work out of the box? I can't tell where the build defaults I found by grepping (all >= 10.7, apparently) are getting overridden.
@sklam: Any ideas how MACOSX_DEPLOYMENT_TARGET
could be set before cmake is called by setup.py?
There's also a CMAKE_OSX_DEPLOYMENT_TARGET
that could be set. That might help. Syntax is the same as MACOSX_DEPLOYMENT_TARGET
.
I'm trying to build llvmlite from source on OSX 10.12.6. When I run
python3 setup.py build
, I get:My shell does not have
$MACOSX_DEPLOYMENT_TARGET
set, and a grep doesn't offer any clues on why that's being set to a lower version. Any ideas about what I should check?Thanks!