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
이 커밋은 다음에 포함됨:
Jonathan R. Madsen
2022-05-31 01:51:18 -05:00
커밋한 사람 GitHub
부모 ce291877cc
커밋 8b97c70df8
18개의 변경된 파일289개의 추가작업 그리고 153개의 파일을 삭제
+17
파일 보기
@@ -0,0 +1,17 @@
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
project(omnitrace-python)
set(PYTHON_FILES builtin.py external.py source.py)
if(NOT CMAKE_PROJECT_NAME STREQUAL "omnitrace")
find_package(Python3 COMPONENTS Interpreter)
if(Python3_FOUND)
set(PYTHON_EXECUTABLE "${Python3_EXECUTABLE}")
foreach(_FILE ${PYTHON_FILES})
configure_file(${PROJECT_SOURCE_DIR}/${_FILE} ${PROJECT_BINARY_DIR}/${_FILE}
@ONLY)
install(PROGRAMS ${PROJECT_BINARY_DIR}/${_FILE} DESTINATION bin)
endforeach()
endif()
endif()