Standalone build examples + testing workflow updates (#15)

* Update examples to support standalone builds

* Tweak to ubuntu-focal-external workflow

- disable PAPI

* ubuntu focal external workflow update

- GCC 11
- Test static libgcc + static libstdcxx + strip
- ubuntu-toolchain-r/test

* Improve build-release.sh

- command line args for lto, strip, perfetto-tools,
   static-libgcc, static-libstdcxx, hidden-visibility,
   max-threads, parallel

* Update VERSION to 1.0.1

* Fixes to LTO build

* Updates to ubuntu-focal-external workflow

* build-release.sh update

- enable static libstdcxx by default

* disable python + static libstdcxx

* ubuntu-focal-external updates

* build-release.sh disable static libstdcxx by default

* cmake-format

[ROCm/rocprofiler-systems commit: 8b97c70df8]
Ta zmiana jest zawarta w:
Jonathan R. Madsen authored and GitHub committed 2022-05-31 01:51:18 -05:00
1 rodzic 222877e4f8
złożenie d009fc24a6
18 plików zmienionych
+288 -152

Żadne pliki nie pasują do Twojego wyszukiwania

+13 -7
Wyświetl plik
@@ -10,6 +10,13 @@ if(NOT HIPCC_EXECUTABLE)
return()
endif()
if(NOT CMAKE_CXX_COMPILER_IS_HIPCC
AND HIPCC_EXECUTABLE
AND NOT COMMAND omnitrace_custom_compilation)
message(AUTHOR_WARNING "transpose target could not be built")
return()
endif()
option(TRANSPOSE_USE_MPI "Enable MPI support in transpose exe" ${TIMEMORY_USE_MPI})
if(TRANSPOSE_USE_MPI)
@@ -29,12 +36,11 @@ if(TRANSPOSE_USE_MPI)
target_link_libraries(transpose PRIVATE MPI::MPI_C)
endif()
if(NOT CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
set_target_properties(transpose PROPERTIES RUNTIME_OUTPUT_DIRECTORY
${CMAKE_BINARY_DIR})
if(NOT CMAKE_CXX_COMPILER_IS_HIPCC AND HIPCC_EXECUTABLE)
# defined in MacroUtilities.cmake
omnitrace_custom_compilation(COMPILER ${HIPCC_EXECUTABLE} TARGET transpose)
endif()
if(NOT CMAKE_CXX_COMPILER_IS_HIPCC AND HIPCC_EXECUTABLE)
# defined in MacroUtilities.cmake
omnitrace_custom_compilation(COMPILER ${HIPCC_EXECUTABLE} TARGET transpose)
endif()
if(NOT CMAKE_PROJECT_NAME STREQUAL "omnitrace")
install(TARGETS transpose DESTINATION bin)
endif()