-
Notifications
You must be signed in to change notification settings - Fork 198
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
Remove the dependency on snappy #118
Comments
judah
added a commit
to judah/tensorflow-haskell
that referenced
this issue
May 16, 2017
Also bump the version to 0.1.0.2. Originally we had `extra-lib-dirs: /usr/local/lib` in stack.yaml. I removed it because it wasn't necessary on my Mac. However, it turns out that it is necessary for machines with the default installation of XCode, which *doesn't* search that path by default. (On my machine, I had run `xcode-select --install` which adds that path permanently to your search path, which is why it wasn't necessary for me anymore.) I'm adding the setting back to `tensorflow.cabal` file instead of `stack.yaml` so that the Hackage release also contains this fix. Unfortunately, the `snappy` package (which `tensorflow-records` depends on) won't benefit from that fix and might run into the same issue. Hopefully that will go away once we remove the dependency (tensorflow#118).
judah
added a commit
to judah/tensorflow-haskell
that referenced
this issue
May 16, 2017
Also bump the version to 0.1.0.2. Originally we had `extra-lib-dirs: /usr/local/lib` in `stack.yaml`. I removed it because it wasn't necessary on my Mac. However, it turns out that it is necessary for machines with the default installation of XCode, which *doesn't* search that path by default. (On my machine, it wasn't necessary because I had run `xcode-select --install` which adds that path permanently to your search path.) I'm adding the setting back to `tensorflow.cabal` file instead of `stack.yaml` so that the Hackage release also contains this fix. Unfortunately, the `snappy` package (which `tensorflow-records` depends on) won't benefit from that fix and might run into the same issue. Hopefully that will go away once we remove the dependency (tensorflow#118).
judah
added a commit
to judah/tensorflow-haskell
that referenced
this issue
May 16, 2017
Also bump the version to 0.1.0.2. Originally we had `extra-lib-dirs: /usr/local/lib` in `stack.yaml`. I removed it because it wasn't necessary on my Mac. However, it turns out that it is necessary for machines with the default installation of XCode, which *doesn't* search that path by default. (On my machine, it wasn't necessary because I had run `xcode-select --install` which adds that path permanently to your search path.) I'm adding the setting back to `tensorflow.cabal` instead of `stack.yaml` so that the Hackage release also contains this fix. Unfortunately, the `snappy` package (which `tensorflow-records` depends on) won't benefit from that fix and might run into the same issue. Hopefully that will go away once we remove the dependency (tensorflow#118).
judah
added a commit
to judah/tensorflow-haskell
that referenced
this issue
May 16, 2017
Also bump the version to 0.1.0.2. Originally we had `extra-lib-dirs: /usr/local/lib` in `stack.yaml`. I removed it because it wasn't necessary on my Mac. However, it turns out that it is necessary for machines with the default installation of XCode, which *doesn't* search that path by default. (On my machine, it wasn't necessary because I had run `xcode-select --install` which adds that path permanently to your search path.) I'm adding the setting back to `tensorflow.cabal` as well as `stack.yaml` so that the Hackage release also contains this fix. Changing `stack.yaml` is still necessary in order to fix linkage in the `snappy` package (which `tensorflow-records` depends on). Hopefully that will go away once we remove the dependency (tensorflow#118).
judah
added a commit
to judah/tensorflow-haskell
that referenced
this issue
May 16, 2017
Also bump the version to 0.1.0.2. Originally we had `extra-lib-dirs: /usr/local/lib` in `stack.yaml`. I removed it because it wasn't necessary on my Mac. However, it turns out that it is necessary for machines with the default installation of XCode, which *doesn't* search that path by default. (On my machine, it wasn't necessary because I had run `xcode-select --install` which adds that path permanently to your search path. For more context, see Homebrew/brew#556.) I'm adding the setting back to `tensorflow.cabal` as well as `stack.yaml` so that the Hackage release also contains this fix. Changing `stack.yaml` is still necessary in order to fix linkage in the `snappy` package (which `tensorflow-records` depends on). Hopefully that will go away once we remove the dependency (tensorflow#118).
judah
added a commit
that referenced
this issue
May 16, 2017
Also bump the version to 0.1.0.2. Originally we had `extra-lib-dirs: /usr/local/lib` in `stack.yaml`. I removed it because it wasn't necessary on my Mac. However, it turns out that it is necessary for machines with the default installation of XCode, which *doesn't* search that path by default. (On my machine, it wasn't necessary because I had run `xcode-select --install` which adds that path permanently to your search path. For more context, see Homebrew/brew#556.) I'm adding the setting back to `tensorflow.cabal` as well as `stack.yaml` so that the Hackage release also contains this fix. Changing `stack.yaml` is still necessary in order to fix linkage in the `snappy` package (which `tensorflow-records` depends on). Hopefully that will go away once we remove the dependency (#118).
judah
added a commit
that referenced
this issue
May 16, 2017
Also bump the version to 0.1.0.2. Originally we had `extra-lib-dirs: /usr/local/lib` in `stack.yaml`. I removed it because it wasn't necessary on my Mac. However, it turns out that it is necessary for machines with the default installation of XCode, which *doesn't* search that path by default. (On my machine, it wasn't necessary because I had run `xcode-select --install` which adds that path permanently to your search path. For more context, see Homebrew/brew#556.) I'm adding the setting back to `tensorflow.cabal` as well as `stack.yaml` so that the Hackage release also contains this fix. Changing `stack.yaml` is still necessary in order to fix linkage in the `snappy` package (which `tensorflow-records` depends on). Hopefully that will go away once we remove the dependency (#118).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our bindings currently link against the
snappy
C library due to the dependency onsnappy-framing
. As far as I can tell, the only reason we use that library is forData.Digest.CRC32C
which is pure Haskell code and doesn't actually use that C dependency.The
snappy
andsnappy-framing
packages are also currently not in Stackage, which preventstensorflow-records
andtensorflow-records-conduit
from being there as well.As suggested in the code, one option is to split out the crc32c functionality into its own package.
The text was updated successfully, but these errors were encountered: