Skip to content

Move build system to CMake + skbuild #747

Closed

Description

@oleksandr-pavlyk

The assortment of remaining tasks to complete transition of DCPTL to cmake + skbuild.

  • Enable sycl::program in libsyclinterface/tests/dpcpp_kernels.hpp.
  • Add build system configuration to pyproject.toml (e.g. specify dependencies for building docs).
  • cmake + skbuild should work with nightly sycl bundles
  • Write coverage build driver (scripts/gen_coverage.py)
  • Write docs driver (scripts/gen_docs.py)
  • Write script to drive build with sycl nightly
  • Ensure SDL flags are added to CMakeLists.txt
  • Upstream change to skbuild to preserve symbolic link to components of versioned shared library
  • Fix dpctl should not vendor versioneer, but use one from PyPI or conda-forge #651, make sure versioneer overrides dpctl/_version.py, a step which relies on using versioneer provided "build_py" step.
  • Make sure pybind11 extension can be added to dpctl, which is the ultimate reason for this work

Activity

  1. oleksandr-pavlyk commented on Jan 14, 2022

    @oleksandr-pavlyk
    ContributorAuthor

    Versioneer does override dpctl/_version.py with changes from #746, but only for setup.py install command, not for setup.py develop. The issue #651 is separate and is not tied to this effort.

  2. oleksandr-pavlyk commented on Jan 24, 2022

    @oleksandr-pavlyk
    ContributorAuthor

    I filed scikit-build/scikit-build#625 to retain symbolic links for partially versioned aliases of the library, but because Python wheels do not support symbolic links yet, it is unlikely that the change is going to be adopted.

    The only way forward for dpctl is to monkey patch skbuild.setuptools_wrap._copy_file function, since we target conda.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions