Skip to content

Commit 4d3b2e5

Browse files
committed
2 parents a66870b + 2d693c1 commit 4d3b2e5

File tree

15 files changed

+39
-43
lines changed

15 files changed

+39
-43
lines changed

.github/workflows/python_build_win.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ Copy-Item -Path C:\msys64\mingw64\bin\libgomp-*.dll -Destination ([IO.Path]::Com
4141
Copy-Item -Path C:\msys64\mingw64\bin\libwinpthread-*.dll -Destination ([IO.Path]::Combine($unpacked_wheel, 'finufft'))
4242
Copy-Item -Path C:\msys64\mingw64\bin\libfftw3-*.dll -Destination ([IO.Path]::Combine($unpacked_wheel, 'finufft'))
4343
Copy-Item -Path C:\msys64\mingw64\bin\libfftw3f-*.dll -Destination ([IO.Path]::Combine($unpacked_wheel, 'finufft'))
44+
Copy-Item -Path C:\msys64\mingw64\bin\libfftw3_omp-*.dll -Destination ([IO.Path]::Combine($unpacked_wheel, 'finufft'))
45+
Copy-Item -Path C:\msys64\mingw64\bin\libfftw3f_omp-*.dll -Destination ([IO.Path]::Combine($unpacked_wheel, 'finufft'))
4446
New-Item -Path .\wheelhouse -ItemType Directory -Force
4547
wheel.exe pack $unpacked_wheel -d .\wheelhouse
4648
if (-not $?) {throw "Failed pack wheel"}

.github/workflows/python_test_win.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
python -m pip install finufft -f .\wheelhouse\
1+
python -m pip install --pre finufft -f .\wheelhouse\
22
if (-not $?) {throw "Failed to pip install finufft"}
33
python python/finufft/test/run_accuracy_tests.py
44
if (-not $?) {throw "Tests failed"}

.github/workflows/python_wheel.yml

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
uses: actions/upload-artifact@v2
3535
with:
3636
name: linux-wheels
37-
path: python/wheelhouse/finufft*manylinux*.whl
37+
path: python/finufft/wheelhouse/finufft*manylinux*.whl
3838

3939
MacOS:
4040
runs-on: macos-latest
@@ -60,19 +60,6 @@ jobs:
6060
# hack to make libquadmath link statically
6161
sudo rm /usr/local/opt/gcc@11/lib/gcc/11/libquadmath.*dylib
6262
63-
- name: Cache macOS Python binaries
64-
id: cache-python
65-
uses: actions/cache@v3
66-
with:
67-
path: |
68-
/Library/Frameworks/Python.framework/Versions/3.6
69-
/Library/Frameworks/Python.framework/Versions/3.7
70-
/Library/Frameworks/Python.framework/Versions/3.8
71-
/Library/Frameworks/Python.framework/Versions/3.9
72-
/Library/Frameworks/Python.framework/Versions/3.10
73-
/Library/Frameworks/Python.framework/Versions/3.11
74-
key: macos-python-3.6.8-macosx10.9-python3.7.9-macosx10.9-python3.8.3-macosx10.9-python3.9.7-macos11-python3.10.1-macos11-python3.11.0-macos11
75-
7663
# Download and install Python instead of using the setup_python
7764
# as the python interpreters in the Github machines
7865
# were compiled in 10.14, the wheels built with them
@@ -138,30 +125,30 @@ jobs:
138125
PYTHON_BIN=/Library/Frameworks/Python.framework/Versions/3.11/bin/
139126
$PYTHON_BIN/python3 -m pip install delocate
140127
ls wheelhouse/finufft*.whl | xargs -n1 $PYTHON_BIN/delocate-wheel -w fixed_wheel/
141-
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3 -m pip install finufft -f fixed_wheel/
128+
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3 -m pip install --pre finufft -f fixed_wheel/
142129
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3 test/run_accuracy_tests.py
143130
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3 examples/simple1d1.py
144-
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -m pip install finufft -f fixed_wheel/
131+
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -m pip install --pre finufft -f fixed_wheel/
145132
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 test/run_accuracy_tests.py
146133
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 examples/simple1d1.py
147-
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3 -m pip install finufft -f fixed_wheel/
134+
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3 -m pip install --pre finufft -f fixed_wheel/
148135
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3 test/run_accuracy_tests.py
149136
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3 examples/simple1d1.py
150-
/Library/Frameworks/Python.framework/Versions/3.9/bin/python3 -m pip install finufft -f fixed_wheel/
137+
/Library/Frameworks/Python.framework/Versions/3.9/bin/python3 -m pip install --pre finufft -f fixed_wheel/
151138
/Library/Frameworks/Python.framework/Versions/3.9/bin/python3 test/run_accuracy_tests.py
152139
/Library/Frameworks/Python.framework/Versions/3.9/bin/python3 examples/simple1d1.py
153-
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3 -m pip install finufft -f fixed_wheel/
140+
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3 -m pip install --pre finufft -f fixed_wheel/
154141
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3 test/run_accuracy_tests.py
155142
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3 examples/simple1d1.py
156-
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3 -m pip install finufft -f fixed_wheel/
143+
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3 -m pip install --pre finufft -f fixed_wheel/
157144
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3 test/run_accuracy_tests.py
158145
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3 examples/simple1d1.py
159146
160147
- name: Upload wheels
161148
uses: actions/upload-artifact@v2
162149
with:
163150
name: macos-wheels
164-
path: python/fixed_wheel/*.whl
151+
path: python/finufft/fixed_wheel/*.whl
165152

166153
Windows:
167154
runs-on: windows-latest

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.19)
22

3-
project(finufft VERSION 2.1.0 LANGUAGES C CXX)
3+
project(finufft VERSION 2.2.0 LANGUAGES C CXX)
44

55
set(GNU_LIKE_FRONTENDS AppleClang Clang GNU)
66
if(CMAKE_CXX_COMPILER_ID IN_LIST GNU_LIKE_FRONTENDS)

docs/conf.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@
2121
# If extensions (or modules to document with autodoc) are in another directory,
2222
# add these directories to sys.path here. If the directory is relative to the
2323
# documentation root, use os.path.abspath to make it absolute, like shown here.
24-
sys.path.insert(0, os.path.abspath('../python'))
24+
sys.path.insert(0, os.path.abspath('../python/finufft'))
25+
sys.path.insert(0, os.path.abspath('../python/cufinufft'))
2526

2627
# quash sphinx's inevitable failure of C++ lib extension to import...
27-
autodoc_mock_imports = ['finufft._finufft', 'numpy']
28+
autodoc_mock_imports = ['finufft._finufft', 'numpy', 'pycuda']
2829
# The above is not enough for nested import -- forcibly mock them out ahead of time:
2930
#for name in autodoc_mock_imports:
3031
# sys.modules[name] = sphinx.ext.autodoc._MockModule(name, None)
@@ -73,9 +74,9 @@
7374
# built documents.
7475
#
7576
# The short X.Y version.
76-
version = u'2.1'
77+
version = u'2.2'
7778
# The full version, including alpha/beta/rc tags.
78-
release = u'2.1.0'
79+
release = u'2.2.0.dev0'
7980

8081
# The language for content autogenerated by Sphinx. Refer to documentation
8182
# for a list of supported languages.

include/finufft/defs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
// ------------- Library-wide algorithm parameter settings ----------------
6464

6565
// Library version (is a string)
66-
#define FINUFFT_VER "2.1.0"
66+
#define FINUFFT_VER "2.2.0.dev0"
6767

6868
// Largest possible kernel spread width per dimension, in fine grid points
6969
// (used only in spreadinterp.cpp)

matlab/Contents.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
% FINUFFT: Flatiron Institute Nonuniform Fast Fourier Transform
2-
% Version 2.1.0
2+
% Version 2.2.0.dev0
33
%
44
% Basic and many-vector interfaces
55
% finufft1d1 - 1D complex nonuniform FFT of type 1 (nonuniform to uniform).

python/cufinufft/cufinufft/__init__.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,9 @@
33
from cufinufft._simple import (nufft1d1, nufft1d2, nufft2d1, nufft2d2,
44
nufft3d1, nufft3d2)
55

6-
__all__ = ['cufinufft']
7-
__version__ = '2.2.0dev0'
6+
__all__ = ["nufft1d1", "nufft1d2",
7+
"nufft2d1", "nufft2d2",
8+
"nufft3d1", "nufft3d2",
9+
"Plan"]
10+
11+
__version__ = '2.2.0.dev0'

python/cufinufft/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
# Python Package Setup
3838
setup(
3939
name='cufinufft',
40-
version='2.2.0dev0',
40+
version='2.2.0.dev0',
4141
author='Yu-shuan Melody Shih, Garrett Wright, Joakim Anden, Johannes Blaschke, Alex Barnett',
4242
author_email='[email protected]',
4343
url='https://github.com/flatironinstitute/cufinufft',

python/finufft/finufft/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
from finufft._interfaces import nufft2d1,nufft2d2,nufft2d3
1818
from finufft._interfaces import nufft3d1,nufft3d2,nufft3d3
1919

20-
__version__ = '2.1.0'
20+
__version__ = '2.2.0.dev0'

0 commit comments

Comments
 (0)