Skip to content

Commit

Permalink
non conflicting target names (#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
TorreZuk authored Jan 28, 2025
1 parent 23b52ed commit 69efa61
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions clients/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ########################################################################
# Copyright (C) 2016-2024 Advanced Micro Devices, Inc. All rights reserved.
# Copyright (C) 2016-2025 Advanced Micro Devices, Inc. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -233,7 +233,7 @@ add_custom_command( OUTPUT "${HIPBLAS_GENTEST}"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" )


add_custom_target( hipblas-common DEPENDS "${HIPBLAS_COMMON}" "${HIPBLAS_TEMPLATE}" "${HIPBLAS_SMOKE}" "${HIPBLAS_GENTEST}" )
add_custom_target( hipblas-clients-common DEPENDS "${HIPBLAS_COMMON}" "${HIPBLAS_TEMPLATE}" "${HIPBLAS_SMOKE}" "${HIPBLAS_GENTEST}" )

if( BUILD_CLIENTS_TESTS OR BUILD_CLIENTS_BENCHMARKS )
rocm_install(
Expand Down
6 changes: 3 additions & 3 deletions clients/benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ########################################################################
# Copyright (C) 2016-2024 Advanced Micro Devices, Inc. All rights reserved.
# Copyright (C) 2016-2025 Advanced Micro Devices, Inc. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -139,8 +139,8 @@ set_target_properties( hipblas_v2-bench PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/staging"
)

add_dependencies( hipblas-bench hipblas-common )
add_dependencies( hipblas_v2-bench hipblas-common )
add_dependencies( hipblas-bench hipblas-clients-common )
add_dependencies( hipblas_v2-bench hipblas-clients-common )

rocm_install(TARGETS hipblas-bench COMPONENT benchmarks)
rocm_install(TARGETS hipblas_v2-bench COMPONENT benchmarks)
6 changes: 3 additions & 3 deletions clients/gtest/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ########################################################################
# Copyright (C) 2016-2024 Advanced Micro Devices, Inc. All rights reserved.
# Copyright (C) 2016-2025 Advanced Micro Devices, Inc. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -292,8 +292,8 @@ add_custom_command( OUTPUT "${HIPBLAS_V2_TEST_DATA}"
add_custom_target( hipblas-test-data DEPENDS "${HIPBLAS_TEST_DATA}" )
add_custom_target( hipblas_v2-test-data DEPENDS "${HIPBLAS_V2_TEST_DATA}" )

add_dependencies( hipblas-test hipblas-test-data hipblas-common )
add_dependencies( hipblas_v2-test hipblas_v2-test-data hipblas-common )
add_dependencies( hipblas-test hipblas-test-data hipblas-clients-common )
add_dependencies( hipblas_v2-test hipblas_v2-test-data hipblas-clients-common )

rocm_install(TARGETS hipblas-test COMPONENT tests)
rocm_install(TARGETS hipblas_v2-test COMPONENT tests)
Expand Down

0 comments on commit 69efa61

Please sign in to comment.