- Notifications
You must be signed in to change notification settings - Fork63
Applying clang-format#291
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
tdegeus wants to merge1 commit intoxtensor-stack:masterChoose a base branch fromtdegeus:style
base:master
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Uh oh!
There was an error while loading.Please reload this page.
Open
Changes fromall commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
42 changes: 21 additions & 21 deletions.appveyor.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
68 changes: 34 additions & 34 deletions.azure-pipelines/azure-pipelines-linux-clang.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
jobs: | ||
- job: Linux_0 | ||
strategy: | ||
matrix: | ||
clang_6: | ||
llvm_version: '6.0' | ||
clang_7: | ||
llvm_version: '7' | ||
clang_8: | ||
llvm_version: '8' | ||
clang_9: | ||
llvm_version: '9' | ||
pool: | ||
vmImage: ubuntu-18.04 | ||
variables: | ||
CC: clang-$(llvm_version) | ||
CXX: clang++-$(llvm_version) | ||
timeoutInMinutes: 360 | ||
steps: | ||
- script: | | ||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test | ||
if [[ $(llvm_version) == '4.0' || $(llvm_version) == '5.0' ]]; then | ||
sudo apt-get update | ||
sudo apt-get --no-install-suggests --no-install-recommends install gcc-4.9 clang-$(llvm_version) | ||
else | ||
LLVM_VERSION=$(llvm_version) | ||
get -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - | ||
sudo add-apt-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-$LLVM_VERSION main" | ||
sudo apt-get update | ||
sudo apt-get --no-install-suggests --no-install-recommends install clang-$(llvm_version) | ||
fi | ||
displayName: Install build toolchain | ||
- bash: echo "##vso[task.prependpath]$CONDA/bin" | ||
displayName: Add conda to PATH | ||
- template: unix-build.yml |
57 changes: 28 additions & 29 deletions.azure-pipelines/azure-pipelines-linux-gcc.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,32 @@ | ||
jobs: | ||
- job: Linux_1 | ||
strategy: | ||
matrix: | ||
gcc_6: | ||
gcc_version: '6' | ||
gcc_7: | ||
gcc_version: '7' | ||
gcc_8: | ||
gcc_version: '8' | ||
gcc_9: | ||
gcc_version: '9' | ||
pool: | ||
vmImage: ubuntu-18.04 | ||
variables: | ||
CC: gcc-$(gcc_version) | ||
CXX: g++-$(gcc_version) | ||
timeoutInMinutes: 360 | ||
steps: | ||
- script: | | ||
if [[ $(gcc_version) == '4.9' || $(gcc_version) == '6' || $(gcc_version) == '7' || $(gcc_version) == '8' ]]; then | ||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test | ||
sudo apt-get update | ||
sudo apt-get --no-install-suggests --no-install-recommends install g++-$(gcc_version) | ||
fi | ||
displayName: Install build toolchain | ||
- bash: echo "##vso[task.prependpath]$CONDA/bin" | ||
displayName: Add conda to PATH | ||
- template: unix-build.yml |
50 changes: 25 additions & 25 deletions.azure-pipelines/azure-pipelines-osx.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
jobs: | ||
- job: OSX | ||
strategy: | ||
matrix: | ||
macOS_10_15: | ||
image_name: macOS-10.15 | ||
macOS_11: | ||
image_name: macOS-11 | ||
pool: | ||
vmImage: $(image_name) | ||
variables: | ||
CC: clang | ||
CXX: clang++ | ||
timeoutInMinutes: 360 | ||
steps: | ||
- script: | | ||
echo "Removing homebrew for Azure to avoid conflicts with conda" | ||
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall > ~/uninstall_homebrew | ||
chmod +x ~/uninstall_homebrew | ||
~/uninstall_homebrew -f -q | ||
displayName: Remove homebrew | ||
- bash: | | ||
echo "##vso[task.prependpath]$CONDA/bin" | ||
sudo chown -R $USER $CONDA | ||
displayName: Add conda to PATH | ||
- template: unix-build.yml |
120 changes: 60 additions & 60 deletions.azure-pipelines/unix-build.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,68 @@ | ||
steps: | ||
- script: | | ||
conda config --set always_yes yes --set changeps1 no | ||
conda update -q conda | ||
conda env create --file environment-dev.yml | ||
source activate xtensor-python | ||
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) | ||
make install | ||
displayName: Configure xtensor-python | ||
workingDirectory: $(Build.BinariesDirectory) | ||
- script: | | ||
source activate xtensor-python | ||
make -j2 test_xtensor_python | ||
displayName: Build xtensor-python | ||
workingDirectory: $(Build.BinariesDirectory)/build | ||
- script: | | ||
source activate xtensor-python | ||
cd test | ||
./test_xtensor_python | ||
displayName: Test xtensor-python (C++) | ||
workingDirectory: $(Build.BinariesDirectory)/build/test | ||
- script: | | ||
source activate xtensor-python | ||
py.test -s | ||
displayName: Test xtensor-python (Python) | ||
workingDirectory: $(Build.SourcesDirectory) | ||
- script: | | ||
source activate xtensor-python | ||
cmake -Bbuild -DPython_EXECUTABLE=`which python` | ||
cd build | ||
cmake --build . | ||
cp ../example.py . | ||
python example.py | ||
cd .. | ||
displayName: Example - readme 1 | ||
workingDirectory: $(Build.SourcesDirectory)/docs/source/examples/readme_example_1 | ||
- script: | | ||
source activate xtensor-python | ||
cmake -Bbuild -DPython_EXECUTABLE=`which python` | ||
cd build | ||
cmake --build . | ||
cp ../example.py . | ||
python example.py | ||
cd .. | ||
displayName: Example - Copy 'cast' | ||
workingDirectory: $(Build.SourcesDirectory)/docs/source/examples/copy_cast | ||
- script: | | ||
source activate xtensor-python | ||
cmake -Bbuild -DPython_EXECUTABLE=`which python` | ||
cd build | ||
cmake --build . | ||
cp ../example.py . | ||
python example.py | ||
cd .. | ||
displayName: Example - SFINAE | ||
workingDirectory: $(Build.SourcesDirectory)/docs/source/examples/sfinae |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.