Building on OS X fails
Steps to reproduce
- Have an OS X box without XCode
- Install dependencies via homebrew
- Run build.sh
Expected behavior
Success!
Actual behavior
Scanning dependencies of target dotnet [ 2%] Building CXX object cli/CMakeFiles/dotnet.dir/fxr/fx_ver.cpp.o /Users/jon/Repositories/personal/dotnet/core-setup/src/corehost/cli/fxr/fx_ver.cpp:4:10: fatal error: 'cassert' file not found
include
^
1 error generated.
Why is this failing, there was no change in the codebase from CLI repo?
Cc @brthor
For the record, this was failing in the CLI repo too...I just always forgot to open an issue :(
@sokket has been talking about this for some time @schellap I don't think this is related to the move
Yeah I remembered post commenting, that he showed this to me during the build fork meeting. Anyway, the timing of this confused me a bit... I'll look into this. AFAIK, I did not install XCode on my El-Capitan and was able to build before that.
Xcode brings in the native tools (clang, etc) that are required to build or you need to have command line tools for Xcode installed. How else are you proposing to get the toolset?
See https://github.com/dotnet/coreclr/blob/master/Documentation/building/osx-instructions.md - it is applicable for all .NET Core repos that build for OSX.
@sokket Does the above help answer your question?
Yeah, we can close this issue now. Thanks!