Skip to content

Commit 2aa0b18

Browse files
authored
fixed "pip install ." for python 3.14.2 on Mint 22.3 (#309)
1 parent d44bff7 commit 2aa0b18

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

MANIFEST.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
include PythonWrapper_README.md
22
recursive-include Include *.h
33
recursive-include PrivateInclude *.h
4+
include PythonWrapper/CMakeLists.txt
45
recursive-include PythonWrapper/cmsisdsp_pkg/src *.h
56
include Source/DistanceFunctions/arm_boolean_distance_template.h
6-
include PythonWrapper/CMakeLists.txt
7+
include Source/CMakeLists.txt
8+
recursive-include Source *.c *.cmake

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ def build_cmsisdsp_library(self):
196196
"-DWRAPPER=YES",
197197
"-DLOOPUNROLL=ON",
198198
"-DCMAKE_BUILD_TYPE=Release",
199-
'-DCMAKE_C_FLAGS_RELEASE="-std=c11 -O3 -ffast-math -DNDEBUG -Wall -Wextra"',
200-
'-DCMAKE_CXX_FLAGS_RELEASE="-std=c++11 -O3 -ffast-math -DNDEBUG -Wall -Wextra -Wno-unused-parameter"'
199+
"-DCMAKE_C_FLAGS_RELEASE=-std=c11 -O3 -ffast-math -DNDEBUG -Wall -Wextra",
200+
"-DCMAKE_CXX_FLAGS_RELEASE=-std=c++11 -O3 -ffast-math -DNDEBUG -Wall -Wextra -Wno-unused-parameter"
201201
]
202202

203203
if sys.platform != 'win32':

0 commit comments

Comments
 (0)