diff --git a/Makefile b/Makefile index fec0f17c9..f380fa923 100644 --- a/Makefile +++ b/Makefile @@ -21,8 +21,7 @@ else endif $(info defaulting to CPU configuration) ./make_cabal_local.sh - # cabal new-update - cabal new-build all + cabal new-update purge: rm -rf dist-newstyle diff --git a/setenv b/setenv index d0c1a139c..6a0e0c3b3 100755 --- a/setenv +++ b/setenv @@ -3,7 +3,7 @@ # execute this command if needed when building on OSX if there are linker errors. # dylib files in extra-lib-dirs don't get forwarded to ghc # in some versions of OSX. See https://github.com/commercialhaskell/stack/issues/1826 -HASKTORCH_LIB_PATH="$(pwd)/vendor/build/" +HASKTORCH_LIB_PATH="$(pwd)/ffi/deps/aten/build/lib/" function add_vendor_lib_path { case "$(uname)" in @@ -31,4 +31,4 @@ if [[ "$(basename "$(git rev-parse --show-toplevel)")" == "hasktorch" ]] && ls $ echo "...done!" else echo "couldn't update library path. Please file an issue or adjust this script for your system and submit a pull request" -fi +fi \ No newline at end of file