commercialhaskell / commercialhaskell/stackage

srtree-3.0.0.2 bench needs llvm

Open
#8,099 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
551
Forks
825
Avg merge
2d 16m
Merged PRs (30d)
8

Description

```text
While building package srtree-3.0.0.2 using:
/home/curators/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_w2MFVN35_3.14.2.0_ghc-9.12.4 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-tinfo6/ghc-9.12.4 build lib:srtree exe:bench exe:bench-eqsat exe:srtree-report test:srtree-test --ghc-options " -fdiagnostics-color=always"
Process exited with code: ExitFailure 1

Preprocessing executable 'bench' for srtree-3.0.0.2...
Building executable 'bench' for srtree-3.0.0.2...
: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [13 and 20)

: error:
LLVM Optimiser: could not execute: opt-20
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the srtree build command and the executable entry points named in the report: bench, bench-eqsat, srtree-report, and test:srtree-test. Reproduce the failure and inspect how the bench build invokes LLVM, especially the missing opt-20 executable; done means the reported package build completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.