-
Notifications
You must be signed in to change notification settings - Fork 730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build standalone clang due to missing DeviceConfigFile #13396
Comments
Hi @MordragT! Do you know if it is using an upstream version of |
@MordragT hi! Any updates here? |
Hey I just tried it again. I haven't updated the repo because I then have to manually update also all the fetch-contents occurences to point to the correct source dirs (nix cannot use fetch-content), but I have taken a look at the CMakeCache.txt:
This is everything I could find about table-gen. pname = "intel-${name}";
version = "19.0.0-unstable-2024-04-15";
src = fetchFromGitHub {
rev = "06bd6bca82e1ba93e2e233cac9b86631e6c2d958";
owner = "intel";
repo = "llvm";
hash = "sha256-o3QERO8DRnHyQ84WBuDvj46qJT4ZVB3A94QHVIrriIU=";
}; When I find the time I will try it against the current master. |
I don't think that this has anything to do with tablegen, but most likely it was an issue with our cmake files, i.e. actual missed dependency. If my assumption is correct, then #13328 likely fixed that. @MordragT, could you please check if that change helps you? That's a one-liner, so full update shouldn't be required, you can just apply it locally or do a cherry-pick |
@AlexeySachkov pr #13328 does solve that error thanks. |
Describe the bug
I am not able to build a standalone clang with my prebuilt llvm.
These are the flags I use to build llvm:
And these are the flags for clang:
Here is the error message I am getting:
With my very limited knowledge I am suspecting something is going wrong with clang's tablegen ?
To reproduce
No response
Environment
No response
Additional context
I am trying to package intel llvm for Nixos. I have already sucessfully built llvm with inbuilt clang etc. with the following derivation:
Edit: This is actually an edited version in the original I had also clang enabled
But I am now trying to modularize it more.
The text was updated successfully, but these errors were encountered: