GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #181 from slefrancois/add_gpuarray · bekerov/DeepLearningTutorials@9c8d609

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .jenkins
    • jenkins_buildbot_dlt.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.jenkins/jenkins_buildbot_dlt.sh‎

Copy file name to clipboardExpand all lines: .jenkins/jenkins_buildbot_dlt.sh
+32Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,38 @@ SUITE="--xunit-testsuite-name="
1919
FLAGS=warn.ignore_bug_before=0.5,compiledir=${COMPILEDIR}
2020
export PYTHONPATH=${BUILDBOT_DIR}/Theano:${BUILDBOT_DIR}/Pylearn:$PYTHONPATH
2121

22+
# Install libgpuarray and pygpu
23+
cd ${BUILDBOT_DIR}
24+
25+
# Make fresh clone (with no history since we don't need it)
26+
rm -rf libgpuarray
27+
git clone --depth 1 "https://github.com/Theano/libgpuarray.git"
28+
29+
(cd libgpuarray && echo "libgpuarray commit" && git rev-parse HEAD)
30+
31+
# Clean up previous installs (to make sure no old files are left)
32+
rm -rf local
33+
mkdir local
34+
35+
# Build libgpuarray and run C tests
36+
mkdir libgpuarray/build
37+
(cd libgpuarray/build && cmake .. -DCMAKE_BUILD_TYPE=${GPUARRAY_CONFIG} -DCMAKE_INSTALL_PREFIX=${BUILDBOT_DIR}/local && make)
38+
39+
# Finally install
40+
(cd libgpuarray/build && make install)
41+
export LD_LIBRARY_PATH=${BUILDBOT_DIR}/local/lib:${LD_LIBRARY_PATH}
42+
export LIBRARY_PATH=${BUILDBOT_DIR}/local/lib:${LIBRARY_PATH}
43+
export CPATH=${BUILDBOT_DIR}/local/include:${CPATH}
44+
45+
# Build the pygpu modules
46+
(cd libgpuarray && python setup.py build_ext --inplace -I${BUILDBOT_DIR}/local/include -L${BUILDBOT_DIR}/local/lib)
47+
48+
mkdir ${BUILDBOT_DIR}/local/lib/python
49+
export PYTHONPATH=${PYTHONPATH}:${BUILDBOT_DIR}/local/lib/python
50+
# Then install
51+
(cd libgpuarray && python setup.py install --home=${BUILDBOT_DIR}/local)
52+
53+
# Install Theano
2254
cd ${BUILDBOT_DIR}
2355
if [ ! -d ${BUILDBOT_DIR}/Theano ]; then
2456
git clone git://github.com/Theano/Theano.git

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.