Makefile is not parallelizable
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- build-system
Research direction
Start by reproducing the reported failure in the generated Makefile after running autogen.sh and configure on Cygwin, using make -j4. Trace the dependency relationship between programs/igzip and programs/igzip.1, then inspect the generated rules around Makefile line 2410. Done means the parallel build completes successfully without the missing-target error.
Written by the indexing model from the issue text.
Description
Hi
It seems the Makefile is not parallelizable:
git clone https://github.com/intel/isa-l
./autogen.sh
./configure --prefix=/usr --libdir=/usr/lib
make -j4 #fails
make[1]: *** No rule to make target 'programs/igzip', needed by 'programs/igzip.1'. Stop.
make[1]: *** Waiting for unfinished jobs....
MKTMP mem/mem_multibinary.s
rm erasure_code/gf_5vect_dot_prod_avx512.s [...] igzip/igzip_icf_body_h1_gr_bt.s
make: *** [Makefile:2410: all] Error 2
This leads me to believe some dependencies in the Makefile are wrong.
$ uname -a
CYGWIN_NT-10.0-26100 vmwin 3.5.4-1.x86_64 2024-08-25 16:52 UTC x86_64 Cygwin
- Dominant language
- C
- Stars
- 1.1k
- Forks
- 350
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from intel/isa-l
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 45/100
-
ISA-L Needs LZ4Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
HexaCluster/credcheck#86 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
mongodb/winkerberos#175 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AOMediaCodec/SVT-AV1#3320 ·
-
difficulty: easy
Difficulty 2/5 1-3 hours Newbie friendliness 64/100