-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from ssciwr/build_system
Modernize build system
- Loading branch information
Showing
11 changed files
with
90 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule Catch2
updated
13 files
+1 −1 | CMakeLists.txt | |
+1 −1 | README.md | |
+2 −1 | docs/cmake-integration.md | |
+10 −0 | docs/release-notes.md | |
+1 −1 | include/catch.hpp | |
+1 −3 | include/internal/benchmark/catch_constructor.hpp | |
+1 −1 | include/internal/catch_debugger.h | |
+10 −2 | include/internal/catch_default_main.hpp | |
+1 −1 | include/internal/catch_session.cpp | |
+1 −1 | include/internal/catch_version.cpp | |
+1 −1 | projects/CMakeLists.txt | |
+8 −7 | projects/SelfTest/UsageTests/Message.tests.cpp | |
+17 −11 | single_include/catch2/catch.hpp |
Submodule cpu_features
updated
59 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
[build-system] | ||
requires = ["scikit-build-core"] | ||
build-backend = "scikit_build_core.build" | ||
|
||
[project] | ||
name = "hammingdist" | ||
version = "0.20.0" | ||
description = "A fast tool to calculate Hamming distances" | ||
readme = "README.md" | ||
license = {text = "MIT"} | ||
authors=[{name="Liam Keegan", email="ssc@iwr.uni-heidelberg.de"}, {name="Dominic Kempf", email="ssc@iwr.uni-heidelberg.de"}] | ||
requires-python = ">=3.7" | ||
classifiers=[ | ||
"Topic :: Scientific/Engineering :: Bio-Informatics", | ||
"License :: OSI Approved :: MIT License", | ||
"Intended Audience :: Science/Research", | ||
"Intended Audience :: Education", | ||
"Programming Language :: C++", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX :: Linux", | ||
] | ||
|
||
[project.urls] | ||
Github = "https://github.com/ssciwr/hammingdist" | ||
Issues = "https://github.com/ssciwr/hammingdist/issues" | ||
|
||
[project.optional-dependencies] | ||
test = ["pytest", "numpy"] | ||
|
||
[tool.scikit-build.cmake.define] | ||
BUILD_TESTING = "OFF" | ||
HAMMING_BUILD_BENCHMARKS = "OFF" | ||
HAMMING_BUILD_PYTHON = "ON" | ||
|
||
[tool.cibuildwheel] | ||
skip = "*-manylinux_i686" | ||
# skip tests for python 3.12 until numpy 1.26 is available | ||
test-skip = "pp* *-musllinux* cp312-*" | ||
test-extras = "test" | ||
test-command = "pytest {project}/python/tests -v" | ||
environment = { BLAS="None", LAPACK="None", ATLAS="None" } | ||
build-verbosity = 3 | ||
|
||
[tool.cibuildwheel.linux] | ||
environment = { CMAKE_ARGS="-DHAMMING_WITH_OPENMP=ON" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
pybind11_add_module(hammingdist hammingdist.cc) | ||
target_link_libraries(hammingdist PUBLIC hamming) | ||
install(TARGETS hammingdist DESTINATION .) |