From d56eba619e333a3f7c48e46bdd7230c79874d0ae Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Mon, 4 Nov 2024 08:05:15 -0600 Subject: [PATCH 1/3] Closes gh-15 Corrected environment variable name. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 89531b1..801809d 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Provide the `build_ext` step with the path to the root VTune install directory. For instance, on Linux: export ITT_INCLUDE_DIR=$VTUNE_PROFILER_DIR/include - export ITT_LIBRARY_DIR=$VTUNE_PROFILE_DIR/lib64 + export ITT_LIBRARY_DIR=$VTUNE_PROFILER_DIR/lib64 python setup.py install The build assumes: From ad9a7edf1c3fb384c9d098f377a8a92b31f0797f Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Mon, 4 Nov 2024 08:11:47 -0600 Subject: [PATCH 2/3] Add section about pyitt --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 801809d..e1c344e 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,13 @@ Call `itt_pt_region_end()` on same thread to end current pt region instance. * [Intel Distribution for Python](https://software.intel.com/en-us/intel-distribution-for-python) * [ITT Task API Reference](https://software.intel.com/en-us/node/544206) +## Related projects + +Intel(R) Instrumentation and Tracing API [project](https://github.com/intel/ittapi) now provides Python bindings +in [pyitt](https://pypi.org/project/pyitt/) package available on PyPI. It provides `pyitt.compatibility_layers.itt_python` +submodule which fully implements the public API of itt-python. + +Users of `itt` are advised to transition to using `pyitt`. ## Thanks From a827ef79f7911c82559635c10fcd1693e41b0e03 Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Mon, 4 Nov 2024 09:34:28 -0600 Subject: [PATCH 3/3] Fix windows build Build using Windows-2019 --- .github/workflows/ci.yaml | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d6a53bc..ae9625f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -49,7 +49,7 @@ jobs: path: /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.tar.bz2 build_and_test_windows: - runs-on: windows-latest + runs-on: windows-2019 strategy: matrix: @@ -61,15 +61,25 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: conda-incubator/setup-miniconda@v2 + + - uses: conda-incubator/setup-miniconda@v3 with: - auto-activate-base: true - conda-build-version: "*" - activate-environment: true + miniforge-variant: Miniforge3 + miniforge-version: latest + activate-environment: build + channels: conda-forge python-version: ${{ matrix.python }} - + + - name: Install conda build + run: | + conda activate + conda install -y conda-build + conda list -n base + - name: Build conda package - run: conda build --python ${{ matrix.python }} -c conda-forge --override-channels conda-recipe + run: | + conda activate + conda build --python ${{ matrix.python }} -c conda-forge --override-channels conda-recipe - name: Upload artifact uses: actions/upload-artifact@v3