Skip to content

Build failed from source #996

Answered by bmhowe23
AryanJ13 asked this question in Q&A
Dec 2, 2023 · 4 comments · 1 reply
Discussion options

You must be logged in to vote

I have a hunch that it is LLVM (as LLVM is the biggest one to compile in tpls). Are you able to change the docker container you're using? If so, the ghcr.io/nvidia/cuda-quantum-devdeps:ext-gcc12-main container (built regularly by our CI) has LLVM already pre-built, so you wouldn't have to build LLVM from scratch if that is an option. That would be best in my opinion, but if that doesn't work, let me know. I've built LLVM on my laptop w/ 16 GB of RAM a while back, but it takes a bit of manual tinkering with the -j option (and trial and error) so that the number of worker threads is limited, which obviously slows the build down. It's a little painful, but it I believe it is technically poss…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@AryanJ13
Comment options

Answer selected by bmhowe23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants