We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29b23b0 commit e9be2deCopy full SHA for e9be2de
recipe/build.sh
@@ -249,7 +249,12 @@ case ${PKG_NAME} in
249
libtorch)
250
# Call setup.py directly to avoid spending time on unnecessarily
251
# packing and unpacking the wheel.
252
- $PREFIX/bin/python setup.py -q build | stdbuf -oL grep -vE "Advisory: Modifier '\.sp::ordered_metadata'"
+ if [[ "$target_platform" == linux-* ]]; then
253
+ # filter out extremely noisy ptxas advisories
254
+ $PREFIX/bin/python setup.py -q build | stdbuf -oL grep -vE "Advisory: Modifier '\.sp::ordered_metadata'"
255
+ else
256
+ $PREFIX/bin/python setup.py -q build
257
+ fi
258
259
mv build/lib.*/torch/bin/* ${PREFIX}/bin/
260
mv build/lib.*/torch/lib/* ${PREFIX}/lib/
0 commit comments