Replies: 3 comments 2 replies
-
Thanks. I've seen this before. It is caused by the current hacky code that tries to download the CI builds of LLVM and use them to avoid needing to rebuild LLVM. Unfortunately, these embed both OS-version and XCode-version specific paths and so don't actually work on any Mac other than the CI machines (which are set up in their own very special way). The vcpkg-wip branch should work better for these scenarios eventually: it uses vcpkg to download things and so will be able to get cached builds of LLVM but only if the compiler and other dependency versions exactly match between the cache and the current build system. |
Beta Was this translation helpful? Give feedback.
-
@davidchisnall That makes a lot of sense. :-) Yes, I did realise that since the project is in constant churn, these things would eventually get sorted out in any case. Just thought of putting it in here in case some others wish to try building it locally and they run into this issue. Funnily enough, I did try checking out the Azure pipelines CI in case the automated builds generated some artifacts, but I couldn't find any, but building it wasn't too much of a hassle at all given the nascent state of the project. |
Beta Was this translation helpful? Give feedback.
-
Alternatively, if we can get different MacOS versions in Azure, we could add more LLVM build types and upload the current versions, too. |
Beta Was this translation helpful? Give feedback.
-
(Putting this here since there is no Wiki for this project)
In case you see an error during build like so:
This is due to the fact that
Xcode
is installed asXcode.app
, but the build process appends the specific version to the path for some reason. The simplest (hacky) way to bypass this issue to to search and replaceXcode_11.3.1
(or whichever specific version you have) withXcode
inside the build directory.Note: A better solution would be to inspect the build process and see where this version injection is taking place, but maybe someone else can take that up if it becomes a regular problem.
For reference, my local system is macOS Mojave 10.4.
Beta Was this translation helpful? Give feedback.
All reactions