You are not logged in.

#1 2015-08-21 17:19:45

Trieforce
Member
Registered: 2010-12-11
Posts: 88

Is there a way to make llvm use multithreading during compilation.

I have set makeflags=-j8 but llvm ignores that. Any ideas?

Offline

#2 2015-08-21 17:41:28

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: Is there a way to make llvm use multithreading during compilation.

I don't have experience with llvm but i think that what you say does not make sense: the -j option has nothing to do with llvm, it is used by make and It's make that parallelize the building proces... so what are you actually trying to do? How and where did you set the makeflags variable? What is the actual command you used? Why do you say the parallelization does not work?

Please, take your time to read the following articles:
http://www.catb.org/~esr/faqs/smart-questions.html
http://www.gnu.org/software/make/manual … l#Parallel
https://wiki.archlinux.org/index.php/Makepkg#MAKEFLAGS


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#3 2015-08-21 17:58:15

Trieforce
Member
Registered: 2010-12-11
Posts: 88

Re: Is there a way to make llvm use multithreading during compilation.

Well, I tried to compile rust and it was using only one thread. It took me a long time to compile it.

Offline

#4 2015-08-21 18:35:15

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: Is there a way to make llvm use multithreading during compilation.

Why don't you use the official package available in [community]? https://www.archlinux.org/packages/comm … 6_64/rust/


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#5 2015-08-21 19:06:10

Trieforce
Member
Registered: 2010-12-11
Posts: 88

Re: Is there a way to make llvm use multithreading during compilation.

I wanted to check out servo-git and it asks for latest rust. I guess I'll just skip on this affair.

Offline

Board footer

Powered by FluxBB