Comments (6)
Can you open bug reports for ansi-terminal
and hashtables
for this (and maybe link back here)? There isn't anything I can do about those dependencies..
from accelerate.
It's possible that deleting ~/.cabal
wasn't enough to start fresh (deleting the files, but not informing GHC that they were deleted). The errors suggest running ghc-pkg check
, which should list dependencies that were broken this way.
To fix them, I think you can run either ghc-pkg unregister <packageName>
to remove them from the list, or reinstall them with cabal-install. I'm not sure there's an easy way to do this for all broken dependencies, outside of completely reinstalling GHC.
from accelerate.
What version of ghc is this with?
from accelerate.
This is The Glorious Glasgow Haskell Compilation System, version 8.10.2
.
Can I do a completely sandboxed build? Isn't this what the v2-build command is supposed to do? ghc-pkg check
only warns about missing haddocks.
EDIT: I tried to build ansi-terminal
to reproduce the error and report it there, but it seems to work fine. At least, cabal install --lib ansi-terminal
completes with Up to date
.
EDIT2: The build with stack
and the stack-8.10.yaml
file works fine. I just wanted to use cabal
in the first place.
from accelerate.
The v2-build command is sandboxed, but it isn't reproducible because Cabal still creates its own install plan (I think there is a way to fix that now though?) which looks like the problem you ran into. It's possibly when you tried cabal v2-build accelerate
it decided a different install plan than when you installed ansi-terminal
by itself. So you might be able to get cabal to work by installing the problematic dependencies one at a time, but from my experiences a long time ago (I gave up on cabal) that's also how you end up in cabal hell.
I'm going to close this because I think there is nothing we can do on our end, but if there is any way you think we can help please ask/let us know!
from accelerate.
Off-topic, but for reproducible builds with Cabal there's the index-state
property in cabal.project to lock the dependency solving to a specific state of Hackage, and it's also possible to use one of Stackage's cabal.freeze files directly.
That beign said I have not had any issues building Accelerate with Cabal without doing any of that.
from accelerate.
Related Issues (20)
- [BUG] Unexpectedly long phases when training a neural network HOT 1
- Support CUDA 11 HOT 1
- [BUG] CUDA-10 library doesn't support the Turing-based RTX 2060? HOT 8
- `inconsistent valuation @ shared 'Acc'` when trying to lift non-`Acc` function to `Acc` HOT 6
- `Foreign` instance for reference interpreter
- Is there a way to force accelerate operations to be sequentially evaluated? HOT 10
- [BUG] doc bugs
- Could not enable debugging options HOT 5
- Support GHCJS compilation HOT 7
- [BUG] Function hashes have incorrect length causing internal errors HOT 2
- [BUG] undefined symbol: _ZTIN4llvm10CallbackVHE HOT 4
- [BUG] Value 'sm_30' is not defined for option 'gpu-name' HOT 4
- [BUG] typo in Semigroup instance of Exp (Maybe a) HOT 1
- How to realise convolution? HOT 13
- [Tracking Issue] Implementing (Segmented) Single-Pass Look-Back Scans
- [BUG] Internal error in package accelerate and LLVM.PTX backend: CUDA Exception - misaligned address HOT 1
- [BUG] Runtime error with llvm-ptx backend: double free or corruption (!prev)
- [BUG] Library won't compile with debug flag when referenced by another project's cabal.project file. HOT 9
- [BUG] ptxas fatal error, sm_89 not defined for gpu-name
- [BUG] Cabal.extra-source-files lists many non-existing cbits files HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from accelerate.