Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Markus Holzer
waLBerla
Commits
c74d02af
Commit
c74d02af
authored
Mar 17, 2022
by
Markus Holzer
Committed by
Dominik Thoennes
Mar 17, 2022
Browse files
[BugFix] CMake dependency
parent
a385588d
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/benchmarks/PhaseFieldAllenCahn/CMakeLists.txt
View file @
c74d02af
waLBerla_link_files_to_builddir
(
*.prm
)
waLBerla_link_files_to_builddir
(
*.py
)
waLBerla_generate_target_from_python
(
NAME BenchmarkPhaseFieldCodeGen
GPU
waLBerla_generate_target_from_python
(
NAME BenchmarkPhaseFieldCodeGen
FILE multiphase_codegen.py
OUT_FILES initialize_phase_field_distributions.
${
CODEGEN_FILE_SUFFIX
}
initialize_phase_field_distributions.h
initialize_velocity_based_distributions.
${
CODEGEN_FILE_SUFFIX
}
initialize_velocity_based_distributions.h
...
...
@@ -15,10 +15,10 @@ waLBerla_generate_target_from_python(NAME BenchmarkPhaseFieldCodeGenGPU
if
(
WALBERLA_BUILD_WITH_CUDA
)
waLBerla_add_executable
(
NAME benchmark_multiphase
FILES benchmark_multiphase.cpp InitializerFunctions.cpp multiphase_codegen.py
DEPENDS blockforest core cuda field postprocessing python_coupling lbm geometry timeloop gui BenchmarkPhaseFieldCodeGen
GPU
)
DEPENDS blockforest core cuda field postprocessing python_coupling lbm geometry timeloop gui BenchmarkPhaseFieldCodeGen
)
else
()
waLBerla_add_executable
(
NAME benchmark_multiphase
FILES benchmark_multiphase.cpp InitializerFunctions.cpp multiphase_codegen.py
DEPENDS blockforest core field postprocessing python_coupling lbm geometry timeloop gui BenchmarkPhaseFieldCodeGen
CPU
)
DEPENDS blockforest core field postprocessing python_coupling lbm geometry timeloop gui BenchmarkPhaseFieldCodeGen
)
endif
(
WALBERLA_BUILD_WITH_CUDA
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment