Skip to content

Commit 7877708

Browse files
committed
Build nanobind with cmake
1 parent 1369738 commit 7877708

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ if(NOT DEFINED CMAKE_BUILD_TYPE)
4848
set(CMAKE_BUILD_TYPE "RelWithDebInfo")
4949
endif()
5050

51-
add_subdirectory(src/Core)
51+
add_subdirectory(src/cil)
5252

5353
cmake_policy(POP)

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ requires = [
33
"setuptools>=64",
44
"setuptools_scm>=8",
55
"scikit-build-core>=0.10",
6-
#"ipp-devel==2021.12.*", # PyPI conflicts with conda package
6+
"nanobind",
7+
"ipp-devel>=2022.1",
8+
"ipp-static>=2022.1",
9+
"intel-openmp",
710
]
811
build-backend = "scikit_build_core.build"
912

@@ -76,7 +79,7 @@ plugins = [
7679
#"tomophantom==2.0.0", # [linux] # missing from PyPI
7780
]
7881
gpu = [
79-
"astra-toolbox>=1.9.9.dev5,<=2.1", # [not osx]
82+
"astra-toolbox", # [not osx]
8083
#"tigre>=2.4,<=2.6", # missing from PyPI
8184
]
8285
[dependency-groups]

src/cil/include/FBP_filtering.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <iostream>
2020
#include <stdio.h>
2121
#include "ipp.h"
22+
#include <ipp.h>
2223
#include <chrono>
2324
#include <omp.h>
2425
#include <random>

0 commit comments

Comments
 (0)