Skip to content

Build Cython modules with default compiler (not DPC++) #174

Closed

Description

@PokhodenkoSA

I think next step (in another PR) should be to try allow Python to build Cython modules with default compiler (not DPC++).
DPC++ is needed only in backend.

Originally posted by @PokhodenkoSA in #168 (comment)

Activity

  1. diptorupd commented on Apr 16, 2021

    @diptorupd
    Contributor

    @PokhodenkoSA I fixed this a while back in our setup.py. Can you confirm?

  2. PokhodenkoSA commented on Apr 19, 2021

    @PokhodenkoSA
    ContributorAuthor

    @diptorupd could you please attach PR with which you fixed this issue?

  3. diptorupd commented on Apr 19, 2021

    @diptorupd
    Contributor

    @PokhodenkoSA We originally were setting the CC and CXX to dpcpp in the build.sh. #168 removed the CC and CXX from build.sh, but added these two lines to the setup.py

        os.environ["CC"] = DPCPP_ROOT + "/bin/clang"
        os.environ["CXX"] = DPCPP_ROOT + "/bin/clang++"
    

    #270 removed these two lines so that we do not use dpcpp to build the cython extensions.

  4. PokhodenkoSA commented on Apr 19, 2021

    @PokhodenkoSA
    ContributorAuthor

    Then I think it could be closed.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions