Skip to content

Commit

Permalink
add install instructions, remove unused kmer.cc file
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Mar 9, 2019
1 parent 6015a07 commit 016d90b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
5 changes: 5 additions & 0 deletions INSTALL
@@ -0,0 +1,5 @@
$ git clone https://github.com/camilescott/boink.git && cd boink
$ pip install numpy jinja2 doit pyyaml cython sh
$ git submodule update --init --remote --recursive
$ doit
$ pip install .
9 changes: 5 additions & 4 deletions dodo.py
Expand Up @@ -326,9 +326,10 @@ def task_deploy_prometheus():
'targets': [os.path.join('lib', lib) for lib in libs] +
[os.path.join(deploy_root, 'lib', lib) for lib in libs],
'actions': [build_cmd,
'mkdir -p lib/',
'cp -r {0} {1}'.format(os.path.join(deploy_root, 'include', 'prometheus'),
'include/'),
'cp -r {0}/*.so {1}'.format(os.path.join(deploy_root, 'lib??'),
'cp -r {0}/*.so {1}'.format(os.path.join(deploy_root, 'lib'),
'lib/')],
'task_dep': ['display_libboink_config'],
'uptodate': [run_once],
Expand All @@ -352,11 +353,11 @@ def task_deploy_gfakluge():
def task_deploy_cqf():
build_cmd = 'cd third-party/cqf && make'
cp_hpp_cmd = 'mkdir -p include/cqf && cp third-party/cqf/gqf.h include/cqf/'
cp_obj_cmd = 'cp third-party/cqf/gqf.o _libbuild/'
cp_obj_cmd = 'mkdir -p {}/ && cp third-party/cqf/gqf.o {}/'.format(LIBBUILDDIR, LIBBUILDDIR)

return {'title': title_with_actions,
'actions': [build_cmd, cp_hpp_cmd, cp_obj_cmd],
'targets': ['_libbuild/gqf.o'],
'targets': ['{}/gqf.o'.format(LIBBUILDDIR)],
'file_dep': ['third-party/cqf/gqf.h'],
'task_dep': ['display_libboink_config'],
'clean': [clean_targets]}
Expand Down Expand Up @@ -400,7 +401,7 @@ def task_compile_libboink():

@create_after('compile_libboink')
def task_link_libboink():
objects = [os.path.join(*obj) for obj in OBJECT_FILES] + ['_libbuild/gqf.o']
objects = [os.path.join(*obj) for obj in OBJECT_FILES] + ['{}/gqf.o'.format(LIBBUILDDIR)]
objects.sort(key=lambda path: os.path.basename(path))
link_action = link_command(objects, LIBBOINKSO)
ln_action = ' '.join(['ln -sf',
Expand Down
Empty file modified scripts/build-ukhs-signature 100644 → 100755
Empty file.
10 changes: 0 additions & 10 deletions src/boink/kmers/kmer.cc

This file was deleted.

0 comments on commit 016d90b

Please sign in to comment.