Skip to content
Permalink
Browse files

add install instructions, remove unused kmer.cc file

  • Loading branch information...
luizirber committed Mar 9, 2019
1 parent 6015a07 commit 016d90b5235cc55a0c7df8b47d6fa472711e01ab
Showing with 10 additions and 14 deletions.
  1. +5 −0 INSTALL
  2. +5 −4 dodo.py
  3. 0 scripts/build-ukhs-signature
  4. +0 −10 src/boink/kmers/kmer.cc
@@ -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 .
@@ -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],
@@ -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]}
@@ -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',
0 scripts/build-ukhs-signature 100644 → 100755
No changes.

This file was deleted.

Oops, something went wrong.

0 comments on commit 016d90b

Please sign in to comment.
You can’t perform that action at this time.