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

Parallel compilation via Makefile doesn't work #15

Closed
jvoisin opened this issue Dec 22, 2021 · 1 comment
Closed

Parallel compilation via Makefile doesn't work #15

jvoisin opened this issue Dec 22, 2021 · 1 comment

Comments

@jvoisin
Copy link

jvoisin commented Dec 22, 2021

I'm trying to compile libdieharder by taking advantage of my 8 cores, by passing -j 8 to make, but this doesn't work, likely due to a dependencies issue in the Makefile:

$ /tmp/DieHard TARGET=libdieharder make -j 8 -C src linux-gcc-64
make: Entering directory '/tmp/DieHard/src'
git clone https://github.com/emeryberger/Heap-Layers
make: *** No rule to make target 'Heap-Layers/wrappers/macwrapper.cpp', needed by 'linux-gcc-64'.  Stop.
make: *** Waiting for unfinished jobs....
Cloning into 'Heap-Layers'...
remote: Enumerating objects: 2493, done.
remote: Counting objects: 100% (640/640), done.
remote: Compressing objects: 100% (394/394), done.
remote: Total 2493 (delta 386), reused 400 (delta 243), pack-reused 1853
Receiving objects: 100% (2493/2493), 917.09 KiB | 1.95 MiB/s, done.
Resolving deltas: 100% (1604/1604), done.
make: Leaving directory '/tmp/DieHard/src'
$
@emeryberger
Copy link
Owner

Fixed with 640949f

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

No branches or pull requests

2 participants