diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index fc2dc521..9070b1f0 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -47,6 +47,12 @@ runs: sed -i 's/;caffe2::cudnn-public//g' ${Torch_DIR}/Caffe2/Caffe2Targets.cmake shell: bash + - name: Downgrade GLIBC + run: | + sed -i '1s/^/#if defined(__linux__) \&\& defined(__x86_64__)\n__asm__(".symver log,log@GLIBC_2.2.5");\n#endif\n/' third_party/METIS/GKlib/gk_proto.h + sed -i '1s/^/#if defined(__linux__) \&\& defined(__x86_64__)\n__asm__(".symver pow,pow@GLIBC_2.2.5");\n#endif\n/' third_party/METIS/libmetis/metislib.h + shell: bash + - name: Install additional dependencies run: | pip install ninja wheel diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index e52d37a0..dbcf4078 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -14,6 +14,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + submodules: recursive - name: Setup packages uses: ./.github/actions/setup diff --git a/.github/workflows/python_testing.yml b/.github/workflows/python_testing.yml index ee84f862..7e18ee6c 100644 --- a/.github/workflows/python_testing.yml +++ b/.github/workflows/python_testing.yml @@ -24,6 +24,10 @@ jobs: run: | pip install --verbose -e .[test] + - name: Print GLIBC dependency + run: | + objdump -T libpyg.so | grep GLIBC_ + - name: Run tests run: | pytest --cov --cov-report=xml diff --git a/CMakeLists.txt b/CMakeLists.txt index 93ee338d..73e4f0af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.12) project(pyg) set(CMAKE_CXX_STANDARD 17) -set(PYG_VERSION 0.3.0) +set(PYG_VERSION 0.3.1) option(BUILD_TEST "Enable testing" OFF) option(BUILD_BENCHMARK "Enable benchmarks" OFF) diff --git a/pyg_lib/__init__.py b/pyg_lib/__init__.py index 042162e5..573c008b 100644 --- a/pyg_lib/__init__.py +++ b/pyg_lib/__init__.py @@ -11,7 +11,7 @@ from .home import get_home_dir, set_home_dir -__version__ = '0.3.0' +__version__ = '0.3.1' # * `libpyg.so`: The name of the shared library file. # * `torch.ops.pyg`: The used namespace. diff --git a/setup.py b/setup.py index 0d78dc27..05d885ba 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ from setuptools import Extension, find_packages, setup from setuptools.command.build_ext import build_ext -__version__ = '0.3.0' +__version__ = '0.3.1' URL = 'https://github.com/pyg-team/pyg-lib'