Skip to content

Commit d033019

Browse files
author
Timmy
committed
Merge pull request #72 from glehmann/exe-names
add clBLAS- prefix to the client and tune executable
2 parents 47662a6 + 26a8097 commit d033019

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ script:
3030
# Run a simple test to validate that the build works; CPU device in a VM
3131
- cd package/bin
3232
- export LD_LIBRARY_PATH=${TRAVIS_BUILD_DIR}/bin/clBLAS/package/lib64:${LD_LIBRARY_PATH}
33-
- ./client --cpu
33+
- ./clBLAS-client --cpu
3434

3535
after_success:
3636
- cd ${TRAVIS_BUILD_DIR}/bin/clBLAS

src/client/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ include_directories(
5252

5353
add_executable(client ${CLIENT_SRC} ${CLIENT_HEADER})
5454
target_link_libraries(client ${Boost_LIBRARIES} ${OPENCL_LIBRARIES} clBLAS)
55-
set_target_properties( client PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/staging" )
55+
set_target_properties( client PROPERTIES
56+
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/staging"
57+
OUTPUT_NAME clBLAS-client )
5658

5759
add_executable(testPerfWrapper ${WRAPPER_SRC})
5860
target_link_libraries(testPerfWrapper ${Boost_LIBRARIES})

src/library/tools/tune/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ endif()
138138
add_executable(tune ${TOOLS_SRC} ${TOOLS_EXTERNAL_SRC})
139139
add_dependencies(tune GENERATE_CLT)
140140
target_link_libraries(tune ${OPENCL_LIBRARIES} ${TIME_LIBRARY} ${MATH_LIBRARY})
141-
set_target_properties( tune PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/staging" )
141+
set_target_properties( tune PROPERTIES
142+
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/staging"
143+
OUTPUT_NAME clBLAS-tune )
142144

143145
# CPack configuration; include the executable into the package
144146
install( TARGETS tune

0 commit comments

Comments
 (0)