Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cutensor v2.0.2.5 #56

Merged
merged 23 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
dd05656
updated v2.0.2.4
regro-cf-autotick-bot Jun 25, 2024
9389692
MNT: Re-rendered with conda-build 24.5.1, conda-smithy 3.36.2, and co…
regro-cf-autotick-bot Jun 25, 2024
0ebf62f
populating correct sha256
mtjrider Jul 30, 2024
3689108
removing sysroot references
mtjrider Jul 30, 2024
58a2484
update version to 2.0.2.5
mtjrider Jul 31, 2024
30d9b6b
MNT: Re-rendered with conda-build 24.5.1, conda-smithy 3.37.1, and co…
Jul 31, 2024
caf85c5
increased logging for compilation tests
mtjrider Jul 31, 2024
ad43621
increased logging in test
mtjrider Jul 31, 2024
51b10f5
fixed placement of exit status update
mtjrider Jul 31, 2024
d8ded13
setting azure to default on aarch64
mtjrider Aug 1, 2024
1b146dc
remove glibc ref. in run_constrained
mtjrider Aug 1, 2024
1cf12ae
MNT: Re-rendered with conda-build 24.5.1, conda-smithy 3.37.1, and co…
Aug 1, 2024
9c49f76
removing line-breaks on nvcc
mtjrider Aug 1, 2024
9c0e686
increasing nvcc verbosity
mtjrider Aug 1, 2024
73472f8
pass nvcc directly
mtjrider Aug 1, 2024
d0090dd
removing all references to glibc in meta.yaml
mtjrider Aug 1, 2024
4989113
removing tests for linux-aarch64 as it requires newer glibc
mtjrider Aug 1, 2024
8c6730d
simplifying run_test.sh
mtjrider Aug 1, 2024
cc2c798
... adding dropped link libraries
mtjrider Aug 1, 2024
e7c8d8e
reverting run_test.sh minimiizing diff
mtjrider Aug 6, 2024
ece80a9
Update conda-forge.yml
mtjrider Aug 8, 2024
ba00f74
Update recipe/meta.yaml
mtjrider Aug 8, 2024
ebacf65
Update recipe/meta.yaml
mtjrider Aug 8, 2024
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
9 changes: 9 additions & 0 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ c_compiler:
- gcc
c_compiler_version:
- '11'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- cos7
channel_sources:
Expand All @@ -23,7 +27,8 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- c_stdlib_version
- cdt_name
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ c_compiler:
- gcc
c_compiler_version:
- '12'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- cos7
channel_sources:
Expand All @@ -23,7 +27,8 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- c_stdlib_version
- cdt_name
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ c_compiler:
- gcc
c_compiler_version:
- '11'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_arch:
- aarch64
cdt_name:
Expand All @@ -29,7 +33,8 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- c_stdlib_version
- cdt_name
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ c_compiler:
- gcc
c_compiler_version:
- '12'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_arch:
- aarch64
cdt_name:
Expand All @@ -29,7 +33,8 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- c_stdlib_version
- cdt_name
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ c_compiler:
- gcc
c_compiler_version:
- '11'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- cos7
channel_sources:
Expand All @@ -23,7 +27,8 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- c_stdlib_version
- cdt_name
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ c_compiler:
- gcc
c_compiler_version:
- '12'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- cos7
channel_sources:
Expand All @@ -23,7 +27,8 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- c_stdlib_version
- cdt_name
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
c_compiler:
- vs2019
c_stdlib:
- vs
channel_sources:
- conda-forge
channel_targets:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
c_compiler:
- vs2019
c_stdlib:
- vs
channel_sources:
- conda-forge
channel_targets:
Expand Down
4 changes: 2 additions & 2 deletions .gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions .scripts/run_win_build.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

9 changes: 1 addition & 8 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions build-locally.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion conda-forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ os_version:
linux_ppc64le: cos7
provider:
linux_aarch64: default
linux_ppc64le: azure
linux_ppc64le: default
build_platform:
linux_aarch64: linux_64
linux_ppc64le: linux_64
github:
branch_name: main
Expand Down
3 changes: 3 additions & 0 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
arm_variant_type: # [aarch64]
- sbsa # [aarch64]

c_stdlib_version: # [linux]
- "2.17" # [linux]
17 changes: 8 additions & 9 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "2.0.1.2" %}
{% set version = "2.0.2.5" %}

{% if cuda_compiler_version in (None, "None", True, False) %}
{% set cuda_major = 0 %}
Expand All @@ -19,10 +19,10 @@ package:

source:
url: https://developer.download.nvidia.com/compute/cutensor/redist/libcutensor/{{ platform }}/libcutensor-{{ platform }}-{{ version }}-archive.{{ extension }}
sha256: ededa12ca622baad706ea0a500a358ea51146535466afabd96e558265dc586a2 # [linux64]
sha256: 7176083a4dad44cb0176771be6efb3775748ad30a39292bf7b4584510f1dd811 # [ppc64le]
sha256: 4214a0f7b44747c738f2b643be06b2b24826bd1bae6af27f29f3c6dec131bdeb # [aarch64]
sha256: 6ba9e03ee76dd0a5ace281ce703baf1175e0884b535924c3af88206d8951e33b # [win64]
sha256: 0e957ae7b352f599de34b6fa1ba999b0617887f885d7436ac5737d71a6b83baa # [linux64]
sha256: e351dc1e69bd0c5ac45b6ef311ee2b510c8ff6f0b350b0354d6db5563e8fabae # [ppc64le]
sha256: 5163dd40f11f328e469a6d9b0056c8346f5d59ed538c18d6b954e4ae657c69cc # [aarch64]
sha256: 3c40b47d164fb0cdbd4a420d0cfac130ca70535743ad7dfb746cd80da5f9600a # [win64]

build:
number: 0
Expand Down Expand Up @@ -51,10 +51,10 @@ build:
requirements:
build:
- {{ compiler('c') }}
- {{ stdlib("c") }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }}
- arm-variant * {{ arm_variant_type }} # [aarch64]
- sysroot_{{ target_platform }} 2.17 # [linux]
host:
- patchelf >=0.12 # [linux]
- cuda-version {{ cuda_major }}.0
Expand All @@ -64,17 +64,16 @@ requirements:
- cudatoolkit >=11.1,<12 # [(cuda_compiler_version or "").startswith("11")]
- libcublas # [(cuda_compiler_version or "").startswith("12")]
run_constrained:
# Only GLIBC_2.17 or older symbols present
- __glibc >=2.17 # [linux]
- arm-variant * {{ arm_variant_type }} # [aarch64]
- {{ stdlib('c') }}
mtjrider marked this conversation as resolved.
Show resolved Hide resolved

test:
requires:
- git
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }}
- sysroot_{{ target_platform }} 2.17 # [linux]
- {{ stdlib('c') }}
# make sure we pick up the version matching the docker,
# or the linker would complain
- cudatoolkit {{ cuda_compiler_version }} # [(cuda_compiler_version or "").startswith("11")]
Expand Down
2 changes: 1 addition & 1 deletion recipe/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test -f $PREFIX/lib/libcutensorMg.so

# the aarch64 binary requires newer glibc that conda-forge currently lacks
# (the tests can still run for CUDA 11 because the docker image in use happens to have newer glibc)
if [[ $target_platform == linux-aarch64 && "${cuda_compiler_version}" =~ 12.* ]]; then
if [[ $target_platform == linux-aarch64 ]]; then
exit 0
fi
# we cross-build for ppc64le and it does not have newer glibc either
Expand Down