Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
bb4b7a8c
Commit
bb4b7a8c
authored
Dec 30, 2015
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2517 from OmarIthawi/edraak/ubuntu14.04-support
Ubuntu 14.04 support (libblas and liblapac fixups)
parents
60507742
a4cc6885
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
7 deletions
+28
-7
AUTHORS
+1
-0
playbooks/roles/edxapp/tasks/python_sandbox_env.yml
+27
-7
No files found.
AUTHORS
View file @
bb4b7a8c
...
...
@@ -49,3 +49,4 @@ Xiang Junfu <xiangjf.fnst@cn.fujitsu.com>
Sarina Canelake <sarina@edx.org>
Steven Burch <stv@stanford.edu>
Dan Powell <dan@abakas.com>
Omar Al-Ithawi <oithawi@qrf.org>
playbooks/roles/edxapp/tasks/python_sandbox_env.yml
View file @
bb4b7a8c
# Set the alternatives this way for blas and lapack to work correctly for the
# Set the alternatives this way for blas and lapack to work correctly for the
# MITx 6.341x course.
# TODO: Switch to using alternatives module in 1.6
-
name
:
code sandbox | Use libblas for 3gf
command
:
update-alternatives --set libblas.so.3gf /usr/lib/libblas/libblas.so.3gf
-
name
:
code sandbox | Check which `libblas` to use
# The `libblas.so.3gf` exists only in 12.04
stat
:
path=/usr/lib/libblas/libblas.so.3gf
register
:
libblas_file
-
name
:
code sandbox | Use libblas.so.3gf in Ubuntu 12.04
alternatives
:
name=libblas.so.3gf path=/usr/lib/libblas/libblas.so.3gf
when
:
libblas_file.stat.exists
-
name
:
code sandbox | Use libblas.so.3 in Ubuntu 14.04
alternatives
:
name=libblas.so.3 path=/usr/lib/libblas/libblas.so.3
when
:
not libblas_file.stat.exists
-
name
:
code sandbox | Check which `liblapac` to use
# The `liblapack.so.3gf` exists only in 12.04
stat
:
path=/usr/lib/lapack/liblapack.so.3gf
register
:
liblapack_file
-
name
:
code sandbox | Use liblapack.so.3gf in Ubuntu 12.04
alternatives
:
name=liblapack.so.3gf path=/usr/lib/lapack/liblapack.so.3gf
when
:
liblapack_file.stat.exists
-
name
:
code sandbox | Use liblapack.so.3 in Ubuntu 14.04
alternatives
:
name=liblapack.so.3 path=/usr/lib/lapack/liblapack.so.3
when
:
not liblapack_file.stat.exists
# TODO: Switch to using alternatives module in 1.6
-
name
:
code sandbox | Use liblapac for 3gf
command
:
update-alternatives --set liblapack.so.3gf /usr/lib/lapack/liblapack.so.3gf
-
name
:
code sandbox | Create edxapp sandbox user
user
:
name={{ edxapp_sandbox_user }} shell=/bin/false home={{ edxapp_sandbox_venv_dir }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment