haskell / haskell/cabal

Cabal does not yet support only building bytecode objects/libraries

Open
#11,471 1 comment 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

Cabal proposal: https://github.com/haskell/cabal-proposals/blob/master/proposals/bytecode-files.md
MR which implements bytecode library support in Cabal: https://github.com/haskell/cabal/pull/11386

At the moment the GHC ecosystem doesn't support building only bytecode objects/libraries. They have to be compiled along with static/dynamic objects. Therefore `cabal-install` does not support only building bytecode objects.

You can trigger this bug by running `cabal-install` with:

```
cabal build --disable-library-vanilla --disable-shared --enable-library-bytecode
```

If you have run into this issue, please leave a comment on this ticket so that the demand for this feature is visible.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.