Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Breaking] Prefix amrex_ to each plotfile Tool #3600

Merged
merged 2 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
CLANG_TIDY_ARGS="--config-file=${{github.workspace}}/.clang-tidy --warnings-as-errors=*"

export PATH=/tmp/my-amrex/bin:$PATH
which fcompare
which amrex_fcompare

ctest --output-on-failure

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
CLANG_TIDY_ARGS="--config-file=${{github.workspace}}/.clang-tidy --warnings-as-errors=*"

export PATH=/tmp/my-amrex/bin:$PATH
which fcompare
which amrex_fcompare

ctest --output-on-failure

Expand Down
5 changes: 5 additions & 0 deletions Tools/Plotfile/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ foreach( _exe IN LISTS _exe_names)
if (AMReX_CUDA)
set_source_files_properties(${_exe}.cpp PROPERTIES LANGUAGE CUDA)
endif()

# Add prefix to each tool's name to make them unique when installed.
# This avoids potential collisions of names on user systems, e.g., in
# software packages (Spack/Conda/Debian/...).
set_target_properties(${_exe} PROPERTIES OUTPUT_NAME "amrex_${_exe}")
endforeach()


Expand Down