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
8dfa7d51
Commit
8dfa7d51
authored
Mar 17, 2022
by
Dominik Thoennes
Browse files
Merge branch 'FixCmakeDep' into 'master'
[BugFix] CMake dependency See merge request
walberla/walberla!531
parents
a385588d
c74d02af
Pipeline
#38610
passed with stages
in 175 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
apps/benchmarks/PhaseFieldAllenCahn/CMakeLists.txt
View file @
8dfa7d51
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