File tree Expand file tree Collapse file tree 8 files changed +16
-24
lines changed
Expand file tree Collapse file tree 8 files changed +16
-24
lines changed Original file line number Diff line number Diff line change @@ -118,14 +118,14 @@ jobs:
118118 mv source-distribution/*.tar.gz wheel-*/*.whl dist
119119
120120 - name : Publish distribution 📦 to Test PyPI
121- if : ${{ github.ref != 'refs/tags/v1.5.0 ' }}
121+ if : ${{ github.ref != 'refs/tags/v1.5.1 ' }}
122122 uses : pypa/gh-action-pypi-publish@master
123123 with :
124124 password : ${{ secrets.TEST_PYPI_TOKEN }}
125125 repository_url : https://test.pypi.org/legacy/
126126
127127 - name : Publish distribution 📦 to PyPI
128- if : ${{ github.ref == 'refs/tags/v1.5.0 ' }}
128+ if : ${{ github.ref == 'refs/tags/v1.5.1 ' }}
129129 uses : pypa/gh-action-pypi-publish@master
130130 with :
131131 password : ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change @@ -2,23 +2,17 @@ cmake_minimum_required(VERSION 3.12)
22
33project (
44 Ssht
5- VERSION "1.5.0 "
5+ VERSION "1.5.1 "
66 DESCRIPTION "Fast and exact spin spherical harmonic transforms"
77 HOMEPAGE_URL "http://astro-informatics.github.io/ssht/"
88 LANGUAGES C)
99
10- option (tests "Enable testing" ON )
1110option (conan_deps "Download dependencies using conan" OFF )
12- if (NOT WIN32 )
13- option (fPIC "Compile with fPIC" ON )
14- endif ()
1511
1612if (NOT CMAKE_BUILD_TYPE )
1713 set (CMAKE_BUILD_TYPE Debug)
1814endif ()
19- if (tests)
20- enable_testing ()
21- endif ()
15+ include (CTest)
2216if (conan_deps OR CONAN_EDITABLE_MODE)
2317 include ("${PROJECT_SOURCE_DIR} /cmake/conan_dependencies.cmake" )
2418endif ()
@@ -33,18 +27,18 @@ find_package(FFTW3 REQUIRED)
3327find_library (MATH_LIBRARY m)
3428
3529add_subdirectory (src/c)
36- if (tests )
30+ if (BUILD_TESTING )
3731 include ("${PROJECT_SOURCE_DIR} /cmake/fetch_cmocka.cmake" )
3832 add_subdirectory (tests)
3933endif ()
4034
41- if (NOT SKBUILD AND NOT CONAN_EXPORTED)
42- include ("${PROJECT_SOURCE_DIR} /cmake/exporting.cmake" )
43- elseif (NOT CONAN_EXPORTED)
35+ if (SKBUILD)
4436 find_package (PythonExtensions REQUIRED)
4537 find_package (Cython REQUIRED)
4638 find_package (NumPy REQUIRED)
4739 add_subdirectory (src/pyssht)
40+ elseif (NOT CONAN_EXPORTED)
41+ include ("${PROJECT_SOURCE_DIR} /cmake/exporting.cmake" )
4842endif ()
4943
5044# only run documentation if this is not a sub-project
Original file line number Diff line number Diff line change @@ -18,6 +18,6 @@ conan_cmake_install(
1818 BUILD
1919 missing
2020 REMOTE
21- conan-center
21+ conancenter
2222 SETTINGS
2323 ${settings} )
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ <h2>News</h2>
5151
5252 < ul >
5353
54+ < li > < strong > Oct 2021</ strong > < br />
55+ Release of SSHT 1.5.1
5456 < li > < strong > July 2021</ strong > < br />
5557 Release of SSHT 1.5.0 (< a href ="https://pypi.org/project/ducc0/ "> ducc0</ a > forward adjoint)
5658 < li > < strong > July 2021</ strong > < br />
Original file line number Diff line number Diff line change 11# ======== COMPILER ========
22
33CC = gcc
4- OPT = -std=c99 -pedantic -Wall -O3 -fopenmp -DSSHT_VERSION=\"1.5.0 \" -DSSHT_BUILD=\"` git rev-parse HEAD ` \"
4+ OPT = -std=c99 -pedantic -Wall -O3 -fopenmp -DSSHT_VERSION=\"1.5.1 \" -DSSHT_BUILD=\"` git rev-parse HEAD ` \"
55# OPT = -Wall -g -fopenmp -DSSHT_VERSION=\"1.0b1\" -DSSHT_BUILD=\"`git rev-parse HEAD`\"
66
77
Original file line number Diff line number Diff line change 11[bumpversion]
2- current_version = 1.5.0
2+ current_version = 1.5.1
33commit = False
44tag = False
55parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(rc(?P<rc>\d+))?
Original file line number Diff line number Diff line change 33from skbuild import setup
44
55cmake_args = [
6- "-Dtests :BOOL=OFF" ,
6+ "-DBUILD_TESTING :BOOL=OFF" ,
77 "-Dconan_deps=ON" ,
8- "-DfPIC =ON" ,
8+ "-DCMAKE_POSITION_INDEPENDENT_CODE =ON" ,
99]
1010
1111dev_requirements = [
2727
2828setup (
2929 name = "pyssht" ,
30- version = "1.5.0 " ,
30+ version = "1.5.1 " ,
3131 author = [
3232 "J. D. McEwen" ,
3333 "C. R. G. Wallis" ,
Original file line number Diff line number Diff line change @@ -12,10 +12,6 @@ target_compile_features(ssht PUBLIC c_std_99)
1212configure_file (${PROJECT_SOURCE_DIR} /include /ssht/ssht_version.in.h
1313 ${PROJECT_BINARY_DIR} /include /ssht/ssht_version.h)
1414
15- if (fPIC)
16- set_target_properties (ssht PROPERTIES POSITION_INDEPENDENT_CODE TRUE )
17- endif ()
18-
1915if (NOT SKBUILD)
2016 install (
2117 TARGETS ssht
You can’t perform that action at this time.
0 commit comments