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

falling-turnip.cabal is outdated #3

Open
conundrumer opened this Issue Sep 29, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@conundrumer
Copy link

conundrumer commented Sep 29, 2015

cabal configure && cabal build doesn't work in both the base directory and repa.

cabal update
cabal install gloss gloss-raster repa-3.2 vector random JuicyPixels-repa
make

This doesn't work either. Not all dependencies are installed, and there's some version conflict with accelerate-cuda with base.

This is also my first time using Haskell so I'm having someone else check if they can build to see whether or not it's just me.

EDIT:

I reinstalled a bunch of stuff. Now, after creating a sandbox and installing, I get this

Configuring falling-turnip-0.1.0.0...
Building falling-turnip-0.1.0.0...
Preprocessing executable 'falling-turnip' for falling-turnip-0.1.0.0...
setup-Simple-Cabal-1.22.4.0-x86_64-osx-ghc-7.10.2: can't find source for
Alchemy in ., dist/dist-sandbox-8f1519f6/build/autogen

okay wait I'm moving stuff around. let me try to fix this

EDIT 2:

You started some porting to Accelerate, but falling-turnip.cabal wasn't updated to reflect that. Draw and World are missing from Repa. I also commented out every reference to Accelerate in Draw and World to get it building.

I ended up using falling-turnip.cabal to install the packages and using make repa to build everything after commenting out instances of Accelerate in Draw and World, along with commenting out the -fllvm flag in the make file.

@conundrumer conundrumer changed the title can't build due to broken dependencies can't build Sep 29, 2015

@conundrumer conundrumer changed the title can't build falling-turning.cabal is outdated Sep 30, 2015

@conundrumer conundrumer changed the title falling-turning.cabal is outdated falling-turnip.cabal is outdated Sep 30, 2015

@liamoc

This comment has been minimized.

Copy link
Collaborator

liamoc commented Sep 30, 2015

Worth nothing that you want to keep -fllvm, the numerics codegen is substantially better in the LLVM backend. You may have had an easier time reverting to cfa671a and trying to build that (that's the working Repa version).

The accelerate version doesn't work. We basically gave up on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment