Skip to content

Commit

Permalink
Build for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Rohde committed Nov 30, 2022
1 parent 402e045 commit c449b75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ftree-vectorize")

include_directories(${CMAKE_SOURCE_DIR}/include)

find_package(OpenMP REQUIRED)
#find_package(OpenMP REQUIRED)

add_definitions(-D_GLIBCXX_PARALLEL)

Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ def build_extension(self, ext):
cmake_args += ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{}={}'.format(
cfg.upper(),
extdir)]
if sys.maxsize > 2**32:
cmake_args += ['-A', 'x64']
#if sys.maxsize > 2**32:
# cmake_args += ['-A', 'x64']
build_args += ['--', '/m']
else:
cmake_args += ['-DCMAKE_BUILD_TYPE=' + cfg]
Expand All @@ -74,7 +74,7 @@ def build_extension(self, ext):

setup(
name='Fred-Frechet',
version='1.9.20',
version='1.9.22',
author='Dennis Rohde',
author_email='[email protected]',
description='A fast, scalable and light-weight C++ Fréchet distance library, exposed to python and focused on (k,l)-clustering of polygonal curves.',
Expand Down

0 comments on commit c449b75

Please sign in to comment.