Skip to content
Snippets Groups Projects
Commit 22acab26 authored by Soeren Peters's avatar Soeren Peters
Browse files

Fix python build.

parent dd4da690
No related branches found
No related tags found
1 merge request!34Add new library, which contains the calculation of the macroscopic quantities and a general cumulant computation. (Closes #13)
......@@ -9,7 +9,7 @@ from setuptools.command.build_ext import build_ext
from distutils.version import LooseVersion
vf_cmake_args = [
"--preset=cpu_make"
"--preset=cpu_make ",
"-DBUILD_VF_PYTHON_BINDINGS=ON"
]
......
......@@ -5,7 +5,7 @@ if(MSVC)
set(additional_libraries ws2_32 Traffic) # ws_32 throws an error on Phoenix
endif()
vf_add_library(BUILDTYPE static PRIVATE_LINK ${additional_libraries} GridGenerator basics MPI::MPI_CXX PUBLIC_LINK lbmCuda)
vf_add_library(PRIVATE_LINK ${additional_libraries} GridGenerator basics MPI::MPI_CXX PUBLIC_LINK lbmCuda)
linkBoost(COMPONENTS "serialization")
......@@ -13,6 +13,4 @@ linkBoost(COMPONENTS "serialization")
#https://stackoverflow.com/questions/6832666/lnk2019-when-including-asio-headers-solution-generated-with-cmake
#https://stackoverflow.com/questions/27442885/syntax-error-with-stdnumeric-limitsmax
#set_target_properties(VirtualFluids_GPU PROPERTIES CUDA_RESOLVE_DEVICE_SYMBOLS ON)
set_target_properties(VirtualFluids_GPU PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
#set_target_properties(VirtualFluids_GPU PROPERTIES POSITION_INDEPENDENT_CODE ON)
\ No newline at end of file
......@@ -3,7 +3,6 @@ project(lbmCuda LANGUAGES CUDA CXX)
vf_add_library(NAME lbmCuda BUILDTYPE static PUBLIC_LINK basics FOLDER ../../lbm)
#set_target_properties(lbm PROPERTIES CUDA_RESOLVE_DEVICE_SYMBOLS ON)
set_target_properties(lbmCuda PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
#set_target_properties(lbm PROPERTIES POSITION_INDEPENDENT_CODE ON)
set_source_files_properties(../CalcMac.cpp PROPERTIES LANGUAGE CUDA)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment