Skip to content
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

Multithreaded make with make -j #13

Open
GoogleCodeExporter opened this issue Aug 12, 2015 · 3 comments
Open

Multithreaded make with make -j #13

GoogleCodeExporter opened this issue Aug 12, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Compile the sources with the option make -j#NUM with #NUM>=2
2.
3.

What is the expected output? What do you see instead?
Instead of a well compiled program
gen68k.c:8:25: fatal error: def68k-iibs.h: No such file or directory

What version of the product are you using? On what operating system?
on Arch Linux gngeo-0.8 from the AUR

Please provide any additional information below.
https://aur.archlinux.org/packages/gngeo/

Original issue reported on code.google.com by Florian....@gmail.com on 21 May 2013 at 3:15

@carstene1ns
Copy link
Contributor

I did some work towards fixing this issue in my parallel_make branch. However, it does not work for cross compilations. I do not know what the better solution here is:

  • Split the build process in two parts. Do a 'host' build of the needed generator(s), then cross compile the rest.
  • Avoid the generator run. Maybe add the cpu core files to the repository and compile/run the generator if instructions change.

@pepone42
Copy link
Owner

If their is no other choice, I personally prefer to split the build process in two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants