Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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: 2 additions & 1 deletion pip/files/pyg-lib-common.file
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
## INCLUDE cpp-standard
## INCLUDE compilation_flags
%define default_pkgname py3-pyg-lib
Requires: zlib ninja
Patch0: patches/pip/pyg-lib
%define source0 git+https://github.com/pyg-team/pyg-lib?obj=master/%{realversion}&export=%{n}-%{realversion}&submodules=1&output=/source.tar.gz
%define source0 git+https://github.com/pyg-team/pyg-lib?obj=master/%{realversion}&export=pyg-lib-%{realversion}&submodules=1&output=/source.tar.gz
%define patchsrc0 \
grep -q 'CMAKE_CXX_STANDARD 17' CMakeLists.txt && sed -i -e 's|CMAKE_CXX_STANDARD 17|CMAKE_CXX_STANDARD %{cms_cxx_standard}|' CMakeLists.txt &&\
grep -q 'march=native' third_party/METIS/GKlib/GKlibSystem.cmake && sed -i -e '/-march=native/d' third_party/METIS/GKlib/GKlibSystem.cmake
Expand Down
1 change: 1 addition & 0 deletions pip/files/torch-cluster-common.file
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## INCLUDE cpp-standard
%define default_pkgname py3-torch-cluster
%define enable_cpp_api yes
%define patchsrc \
grep -q 'CMAKE_CXX_STANDARD 14' CMakeLists.txt \
Expand Down
1 change: 1 addition & 0 deletions pip/files/torch-scatter-common.file
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## INCLUDE cpp-standard
%define default_pkgname py3-torch-scatter
%define enable_cpp_api yes
%define patchsrc \
grep -q 'CMAKE_CXX_STANDARD 14' CMakeLists.txt \
Expand Down
1 change: 1 addition & 0 deletions pip/files/torch-sparse-common.file
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## INCLUDE cpp-standard
%define default_pkgname py3-torch-sparse
%define enable_cpp_api yes
%define patchsrc \
grep -q 'CMAKE_CXX_STANDARD 14' CMakeLists.txt \
Expand Down
4 changes: 2 additions & 2 deletions pip/torch.file
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## INCLUDE microarch_flags
## INCLUDE cpp-standard

%define source0 git+https://github.com/pytorch/pytorch.git?obj=main/v%{realversion}&export=%{n}-%{realversion}&submodules=1&output=/%{n}-%{realversion}.tgz
%define default_pkgname py3-torch
%define source0 git+https://github.com/pytorch/pytorch.git?obj=main/v%{realversion}&export=torch-%{realversion}&submodules=1&output=/source.tar.gz
Source97: pip/files/torch-build-env
Source98: FindEigen3.cmake
Source99: scram-tools.file/tools/eigen/env
Expand Down