Skip to content

Commit 6dfe705

Browse files
committed
fixed hexes and better setup
1 parent 4b447a0 commit 6dfe705

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

cmake/PolyfemPythonDownloadExternal.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ endfunction()
2727
function(polyfem_python_download_polyfem)
2828
polyfem_python_download_project(polyfem
2929
GIT_REPOSITORY https://github.com/polyfem/polyfem.git
30-
GIT_TAG d380881a090f0ae2f7d416123efc87fed1a30ed8
30+
GIT_TAG f83224eac8ec8dc464115d919717f2a077796d4c
3131
)
3232
endfunction()
3333

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ def build_extension(self, ext):
5656
if platform.system() == "Windows":
5757
cmake_args += [
5858
'-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{}={}'.format(cfg.upper(), extdir)]
59-
if sys.maxsize > 2**32:
60-
cmake_args += ['-A', 'x64']
61-
build_args += ['--', '/m']
59+
if os.environ.get('CMAKE_GENERATOR') != "NMake Makefiles":
60+
if sys.maxsize > 2**32:
61+
cmake_args += ['-A', 'x64']
62+
build_args += ['--', '/m']
6263
else:
6364
build_args += ['--', '-j2']
6465

0 commit comments

Comments
 (0)