Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
* change CLBlast github URL to public
* add a few missing dependencies
  • Loading branch information
franz committed Mar 13, 2019
1 parent a7803c0 commit a4f6c4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/CLBlast/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ set(TS_BASEDIR "${TESTSUITE_BASEDIR}/${TS_NAME}")
set(TS_BUILDDIR "${TS_BASEDIR}/src/${TS_NAME}-build")
set(TS_SRCDIR "${TESTSUITE_SOURCE_BASEDIR}/${TS_NAME}")

set(FETCH_SOURCE GIT_REPOSITORY "git@github.com:CNugteren/CLBlast.git")
set(FETCH_SOURCE GIT_REPOSITORY "https://github.com/CNugteren/CLBlast.git")

message(STATUS "Enabling testsuite ${TS_NAME}")
list(APPEND ACTUALLY_ENABLED_TESTSUITES "${TS_NAME}")
Expand Down
2 changes: 1 addition & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# pacman -S blas cblas lapack lapacke openmpi svn freeimage python-numpy python2-numpy python-mako python2-mako
#
# on Ubuntu:
# apt-get install libblas-dev liblapack-dev liblapacke-dev libopenmpi-dev subversion python-numpy python-mako
# apt-get install libblas-dev liblapack-dev liblapacke-dev libatlas-base-dev libopenmpi-dev subversion python-numpy python-mako
#

add_subdirectory("example1")
Expand Down
2 changes: 1 addition & 1 deletion examples/PyOpenCL/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ TS_SRCDIR="$3"
VIRTUALENV="$4"
PYTH="$5"

cd "${TS_BASEDIR}/src" && "${VIRTUALENV}" --system-site-packages "--python=$PYTH" "PyOpenCL-build" && source "${TS_BUILDDIR}/bin/activate" && cd "${TS_SRCDIR}" && python configure.py
cd "${TS_BASEDIR}/src" && "${VIRTUALENV}" --system-site-packages "--python=$PYTH" "PyOpenCL-build" && source "${TS_BUILDDIR}/bin/activate" && cd "${TS_SRCDIR}" && pip install pybind11 pytest && python configure.py

0 comments on commit a4f6c4c

Please sign in to comment.