Skip to content

Commit 3274897

Browse files
markhalkaHalka
authored andcommitted
numba csp
cleanup add new annotations new support signal / valid / ticked support integrate more general external-numba cleanup udpate test annotations update get_signal_type_fn -> extract_python_type_fn wip fixes cleanup external-numba -> numba_type_utils support single csp.output, add tests for constants in start / stop phase add support for outputs in start / end fix dict-basket key indexing remove start thing fix struct enum values
1 parent 01e0fc9 commit 3274897

30 files changed

Lines changed: 3503 additions & 1709 deletions

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
EXTRA_ARGS :=
1+
EXTRA_ARGS := --csp-no-vcpkg
22

33
#########
44
# BUILD #
55
#########
6-
.PHONY: requirements develop build build-debug build-conda install
6+
.PHONY: requirements develop build build-debug build-conda build-conda-debug install
77

88
ASAN :=
99
UBSAN :=
@@ -26,6 +26,9 @@ build-debug: ## build the library ( DEBUG ) - May need a make clean when switch
2626
build-conda: ## build the library in Conda
2727
CSP_ENABLE_ASAN=$(ASAN) CSP_ENABLE_UBSAN=$(UBSAN) python setup.py build build_ext --csp-no-vcpkg --inplace
2828

29+
build-conda-debug: ## build the library in Conda ( DEBUG )
30+
CSP_ENABLE_ASAN=$(ASAN) CSP_ENABLE_UBSAN=$(UBSAN) DEBUG=1 python setup.py build build_ext --csp-no-vcpkg --inplace
31+
2932
install: ## install library
3033
python -m pip install .
3134

ci/scripts/requirements.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
#!/bin/env python
22
import os
33

4+
45
def deps():
56
import toml
7+
68
c = toml.load("pyproject.toml")
79
requires = c["build-system"]["requires"]
810
develop = c["project"]["optional-dependencies"]["develop"]
911
return requires + develop
1012

13+
1114
def main():
1215
ret = os.system("python -m pip install --prefer-binary toml")
1316
if ret != 0:

conda/dev-environment-unix.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ dependencies:
1313
- cyrus-sasl
1414
- deprecated
1515
- docutils<0.22.1
16+
- numba_type_utils
1617
- exprtk
1718
- flex
1819
- graphviz

conda/dev-environment-win.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ dependencies:
1313
- cyrus-sasl
1414
- deprecated
1515
- docutils<0.22.1
16+
- numba_type_utils
1617
- exprtk
1718
# - flex # not available on windows
1819
- graphviz

0 commit comments

Comments
 (0)