Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ansible
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
43
Issues
43
List
Boards
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
19b6eea4
Commit
19b6eea4
authored
Jun 02, 2017
by
julian.gethmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add PyNAFF role
parent
8dda8cc4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
0 deletions
+81
-0
hosts
hosts
+4
-0
pynaff.yml
pynaff.yml
+3
-0
roles/naff_cpp/tasks/main.yml
roles/naff_cpp/tasks/main.yml
+74
-0
No files found.
hosts
View file @
19b6eea4
...
...
@@ -31,6 +31,10 @@ las-gethmann.las.kit.edu
[kdev] # KDevelope
[pynaff]
las-gethmann.las.kit.edu
las113.las.kit.edu
[latex]
las-gethmann.las.kit.edu
las122.las.kit.edu
...
...
pynaff.yml
0 → 100644
View file @
19b6eea4
-
hosts
:
pynaff
roles
:
-
naff_cpp
roles/naff_cpp/tasks/main.yml
0 → 100644
View file @
19b6eea4
---
# Install Sofia Kostoglou's (CERN) C++/Python 2.7 NAFF implementation
-
name
:
install boost
become
:
yes
dnf
:
name
:
"
{{
item
}}"
state
:
installed
with_items
:
-
boost-devel
# boost
# boost-container
# boost-context
# boost-coroutine
# boost-devel
# boost-graph
# boost-locale
# boost-log
# boost-math
# boost-program-options
# boost-python
# boost-random
# boost-regex
# boost-serialization
# boost-signals
# boost-test
# boost-timer
# boost-type_erasure
# boost-wave
# libicu-devel
-
fftw-devel
# fftw
# fftw-libs
# fftw-libs-long
# fftw-libs-quad
-
cmake
when
:
ansible_distribution == 'Fedora'
-
name
:
test if NAFF is installed
command
:
python -c "import NAFF"
register
:
not_there
ignore_errors
:
True
changed_when
:
not_there.rc ==
1
-
name
:
clone git
git
:
repo
:
https://github.com/skostogl/NAFF_cpp.git
version
:
master
dest
:
/tmp/NAFF_cpp
clone
:
yes
depth
:
1
when
:
not_there.rc ==
1
-
name
:
build
command
:
cmake ..
args
:
chdir
:
/tmp/NAFF_cpp/build
creates
:
/tmp/NAFF_cpp/build/Makefile
when
:
not_there.rc ==
1
-
name
:
make
make
:
chdir
:
/tmp/NAFF_cpp/build
when
:
not_there.rc ==
1
-
name
:
copy shared object to Python's path
become
:
yes
copy
:
src
:
/tmp/NAFF_cpp/NAFF.so
dest
:
/usr/lib/python2.7/site-packages/NAFF.so
backup
:
yes
remote_src
:
True
when
:
not_there.rc ==
1
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