Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@ version: 2.1
commands:
setup:
steps:
- run:
name: Checkout submodules
command: |
git submodule update --init --recursive
- run:
name: Install dependencies and set path
command: |
sudo apt-get update
sudo apt-get install -y ninja-build libcunit1-dev valgrind clang doxygen python3-pip
# Install meson to the system packages so we can run it as root
sudo pip install meson==0.55
sudo pip install meson
pip install numpy==1.18.5
pip install --user -r python/requirements/CI-complete/requirements.txt
pip install twine --user
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ jobs:

- name: Checkout
uses: actions/checkout@v2
with:
submodules: true

- name: Cache conda and dependancies
id: cache
Expand Down Expand Up @@ -150,8 +148,6 @@ jobs:

- name: 'Checkout'
uses: actions/checkout@v2
with:
submodules: true

- name: Setup MSYS2 ${{matrix.sys}}
uses: msys2/setup-msys2@v2
Expand All @@ -165,12 +161,6 @@ jobs:
mingw-w64-${{matrix.env}}-meson
mingw-w64-${{matrix.env}}-cunit

- name: Fix windows symlinks
working-directory: c
run: |
rm -f subprojects/kastore
cp -r --dereference subprojects/full-projects/kastore/c subprojects/kastore

- name: Build
working-directory: c
run: |
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
Expand Down Expand Up @@ -62,8 +60,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Install deps
env:
PYTHON: "py -${{ matrix.python }}-${{ matrix.wordsize }}"
Expand Down Expand Up @@ -110,8 +106,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true

- name: Set up Python 3.8
uses: actions/setup-python@v2
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

3 changes: 3 additions & 0 deletions c/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
``tsk_tree_t.interval.left`` and ``tsk_tree_t.interval.right`` respectively.
(:user:`jeromekelleher`, :issue:`1686`, :pr:`1913`)

- ``kastore`` is now vendored into this repo instead of being a git submodule. Developers need to run
``git submodule update``. (:user:`jeromekelleher`, :issue:`1687`, :pr:`1973`)


**Features**

Expand Down
5 changes: 3 additions & 2 deletions c/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ project('tskit', ['c', 'cpp'], default_options: ['c_std=c99', 'cpp_std=c++11'])

kastore_proj = subproject('kastore')
kastore_dep = kastore_proj.get_variable('kastore_dep')
kastore_inc = kastore_proj.get_variable('kastore_inc')

cc = meson.get_compiler('c')
m_dep = cc.find_library('m', required: false)
Expand All @@ -22,10 +23,10 @@ lib_headers = [
'tskit/genotypes.h', 'tskit/stats.h', 'tskit/convert.h', 'tskit/haplotype_matching.h']

# Subprojects use the static library for simplicity.
inc = include_directories(['.', 'tskit'])
tskit_inc = [kastore_inc, include_directories(['.'])]
tskit_lib = static_library('tskit',
sources: lib_sources, dependencies: lib_deps)
tskit_dep = declare_dependency(include_directories:inc, link_with: tskit_lib)
tskit_dep = declare_dependency(include_directories:tskit_inc, link_with: tskit_lib)

if not meson.is_subproject()

Expand Down
1 change: 0 additions & 1 deletion c/subprojects/full-projects/kastore
Submodule kastore deleted from c83e23
1 change: 0 additions & 1 deletion c/subprojects/kastore

This file was deleted.

3 changes: 3 additions & 0 deletions c/subprojects/kastore/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This directory is an abbreviated version of the kastore distribution source.

All files should be updated when we are updating to a new kastore version.
1 change: 1 addition & 0 deletions c/subprojects/kastore/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.0.2
Loading