Python support (#37)

* Initial python support

* Add python testing

* Increase timeout for bin tests

* cmake-format

* Valid build types + testing + formatting + more

- Enforce valid build types
- Fix to numpy install
- Increase testing timeout
- Fix to cmake format glob
- Fix to backtrace verbose

* Disable stripping libraries by default

* omnitrace exe updates

- new '--print-instructions' option
- changed format of instructions in JSON
- remove no-save-fpr tests

* Default to strip libraries when release build
此提交包含在:
Jonathan R. Madsen
2022-04-05 00:24:34 -05:00
提交者 GitHub
父節點 945f541965
當前提交 afa3edebab
共有 42 個檔案被更改,包括 2442 行新增239 行删除
+3 -1
查看文件
@@ -46,6 +46,7 @@ jobs:
apt-get upgrade -y &&
apt-get install -y build-essential m4 autoconf libtool python3-pip ${{ matrix.compiler }} ${{ matrix.mpi }} &&
python3 -m pip install --upgrade pip &&
python3 -m pip install numpy &&
python3 -m pip install 'cmake==3.16.3'
- name: Configure Env
@@ -69,6 +70,7 @@ jobs:
-DOMNITRACE_BUILD_DYNINST=OFF
-DOMNITRACE_USE_MPI=${USE_MPI}
-DOMNITRACE_USE_HIP=OFF
-DOMNITRACE_USE_PYTHON=ON
- name: Build
timeout-minutes: 45
@@ -80,7 +82,7 @@ jobs:
cmake --build build --target install --parallel 2
- name: Test
timeout-minutes: 30
timeout-minutes: 45
run:
cd build &&
ctest -V --output-log build/omnitrace-ctest-ubuntu-bionic.log --stop-on-failure