Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Mar 24, 2024
1 parent ba21e80 commit e581168
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/pyg_lib/csrc/config.h.in "${CMAKE_CUR

if (USE_PYTHON)
# Needed for GitHub CI in order to pick up the correct Python version:
if (POLICY CMP0094)
cmake_policy(SET CMP0094 NEW)
endif()
if (NOT DEFINED Python3_FIND_REGISTRY)
set(Python_FIND_REGISTRY "LAST")
endif()
Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import os
import os.path as osp
import subprocess
import sys
import warnings

from setuptools import Extension, find_packages, setup
Expand Down Expand Up @@ -59,7 +58,6 @@ def build_extension(self, ext):
'-DBUILD_TEST=OFF',
'-DBUILD_BENCHMARK=OFF',
'-DUSE_PYTHON=ON',
# f'-DPython3_EXECUTABLE={sys.executable}',
f'-DWITH_CUDA={"ON" if WITH_CUDA else "OFF"}',
f'-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={extdir}',
f'-DCMAKE_BUILD_TYPE={self.build_type}',
Expand Down

0 comments on commit e581168

Please sign in to comment.