Skip to content

Commit

Permalink
Change binary names to hipcc.bin, hipconfig.bin
Browse files Browse the repository at this point in the history
  • Loading branch information
searlmc1 committed Dec 8, 2021
1 parent c41bcd6 commit e52a225
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions amd/hipcc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
cmake_minimum_required(VERSION 3.16.3)
project (hipcc)
project (hipcc.bin)

# specify the C++ standard
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

set ( LINK_LIBS libstdc++fs.so)
add_executable(hipcc src/hipBin.cpp)
if (NOT WIN32) #c++17 does not require the std lib linking
target_link_libraries(hipcc ${LINK_LIBS} ) # for hipcc
set (LINK_LIBS libstdc++fs.so)
add_executable(hipcc.bin src/hipBin.cpp)
if (NOT WIN32) # c++17 does not require the std lib linking
target_link_libraries(hipcc.bin ${LINK_LIBS} ) # for hipcc.bin
endif()

project (hipconfig)
add_executable(hipconfig src/hipBin.cpp)
if (NOT WIN32) #c++17 does not require the std lib linking
target_link_libraries(hipconfig ${LINK_LIBS} ) # for hipconfig
project (hipconfig.bin)
add_executable(hipconfig.bin src/hipBin.cpp)
if (NOT WIN32) # c++17 does not require the std lib linking
target_link_libraries(hipconfig.bin ${LINK_LIBS} ) # for hipconfig.bin
endif()

set(HIP_VERSION_MAJOR 4 PARENT_SCOPE)
Expand Down

0 comments on commit e52a225

Please sign in to comment.