Skip to content

Conversation

@mhuesch
Copy link
Contributor

@mhuesch mhuesch commented Aug 7, 2017

I needed to do graph search recently and revisited this package. Turns out quite a bit has changed in the dependencies in 5 years! I made tweaks so it builds with stack's lts-9.0 resolver. I am not confidant that I didn't subtly break things, and I haven't had time to go through and check everything. But since I might never get around to it, I figured it's a starting point and would save someone else some work if they want to use the package with a more recent GHC.

Notes

  • I may have unintentionally changed some behaviors in this commit. I
    added a few TODO comments to indicate this.
  • There is annoying line noise in this commit because my editor strips
    whitespace and I didn't disable it until I had modified several files.

- I may have unintentionally changed some behaviors in this commit. I
  added a few TODO comments to indicate this.
- There is annoying line noise in this commit because my editor strips
  whitespace and I didn't disable it until I had modified several files.
@miguelfdag
Copy link

Hi I have recently started working with Haskell to see how imperative languages compare to functional ones, in terms of performance. I found your answer, which would greatly help me, but I cannot get it running. Could you help me out, please?

@mhuesch
Copy link
Contributor Author

mhuesch commented Nov 9, 2018

Hi, what’s the output from stack build, when run from the project root?

@miguelfdag
Copy link

miguelfdag commented Nov 9, 2018 via email

@mhuesch
Copy link
Contributor Author

mhuesch commented Nov 10, 2018

Hi, it seems like you need to install gsl. Try one of the methods listed here.

@miguelfdag
Copy link

miguelfdag commented Nov 10, 2018 via email

@mhuesch
Copy link
Contributor Author

mhuesch commented Nov 10, 2018

Unfortunately, I don't have experience with hmatrix on Linux (I run Mac), but I found this issues. Perhaps you could try installing OS-specific packages, like indicated in one of the links (albeit their case is Windows)? Or possibly specifying the extra-include-dirs like they do: stack --extra-lib-dirs=D:/CS294/gsl-1.8-bin/bin build

@miguelfdag
Copy link

miguelfdag commented Nov 10, 2018 via email

@mhuesch
Copy link
Contributor Author

mhuesch commented Nov 10, 2018

Great! You're welcome - happy to help 🙂

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants