Skip to content

Instantly share code, notes, and snippets.

@reborg
Created November 8, 2016 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reborg/1d4505d53e8a1fb14520db7377fc200d to your computer and use it in GitHub Desktop.
Save reborg/1d4505d53e8a1fb14520db7377fc200d to your computer and use it in GitHub Desktop.
Get neanderthal library with ATLAS custom build
lean new neander
cd neander
# change project.clj to include [uncomplicate/neanderthal "0.8.0"]
# this fetches a “atlas-3.10.2” locally
apt-get source atlas
sudo apt-get build-dep atlas
sudo apt-get install devscripts
cd atlas-3.10.2
fakeroot debian/rules custom
cd ..
sudo dpkg -i libatlas3-base_3.10.2-9+custom2_amd64.deb libatlas-base-dev_3.10.2-9+custom2_amd64.deb libatlas-dev_3.10.2-9+custom2_amd64.deb
LD_PRELOAD=/usr/lib/libblas.so lein repl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment