Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WIP: Fix unittest with TBB and add CI with tbb enabled#253

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
zhujun98 wants to merge1 commit intoxtensor-stack:master
base:master
Choose a base branch
Loading
fromzhujun98:fix_unittest_with_tbb
Open
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions.azure-pipelines/azure-pipelines-linux-gcc.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,6 +10,9 @@ jobs:
gcc_version: '6'
gcc_7:
gcc_version: '7'
gcc_7_tbb:
gcc_version: '7'
enable_tbb: 1
gcc_8:
gcc_version: '8'
gcc_9:
Expand Down
8 changes: 7 additions & 1 deletion.azure-pipelines/unix-build.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,13 +4,19 @@ steps:
conda update -q conda
conda env create --file environment-dev.yml
source activate xtensor-python
if [[ $(enable_tbb) == 1 ]]; then
conda install tbb-devel -c conda-forge
fi
displayName: Install dependencies

- script: |
source activate xtensor-python
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DPYTHON_EXECUTABLE=`which python` -DDOWNLOAD_GTEST=ON $(Build.SourcesDirectory)
if [[ $(enable_tbb) == 1 ]]; then
CMAKE_EXTRA_ARGS="$CMAKE_EXTRA_ARGS -DXTENSOR_USE_TBB=ON -DTBB_INCLUDE_DIR=$CONDA_PREFIX/include -DTBB_LIBRARY=$CONDA_PREFIX/lib ..";
fi
cmake -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DPYTHON_EXECUTABLE=`which python` -DDOWNLOAD_GTEST=ON $CMAKE_EXTRA_ARGS $(Build.SourcesDirectory)
displayName: Configure xtensor-python
workingDirectory: $(Build.BinariesDirectory)

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp