Git Product home page Git Product logo

Comments (8)

drew-parsons avatar drew-parsons commented on June 3, 2024

Joachim Reichel suggests it needs
libraries=["stdc++", "gmp", "mpfr"]

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946234

from pygalmesh.

drew-parsons avatar drew-parsons commented on June 3, 2024

The relationship between cmake and setup.py seems to complicate the build conditions.

Joachim says the mere presence of cmake means it is invoked in pybuild build, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946233.

But it doesn't work that way for me. For me it's either dh --buildsystem=pybuild which does not invoke cmake, or dh --buildsystem=cmake, not clear what that does to the python build.

from pygalmesh.

nschloe avatar nschloe commented on June 3, 2024

This seems like it's related to pypa/setuptools#1732 (comment): setuptools indeed uses the C compiler, not C++, to compile C++ projects. Only the linker step uses CXX. Does it not on Debian?

from pygalmesh.

nschloe avatar nschloe commented on June 3, 2024

The relationship between cmake and setup.py seems to complicate the build conditions.

Hm. Well, the CMake files aren't terribly important to me, but sometimes I use them to debug which is why I don't want to toss them completely. If we can find another way of making this work, that'd be great.

from pygalmesh.

drew-parsons avatar drew-parsons commented on June 3, 2024

If we're clear on the intended role of cmake (intended for developer debugging only) then Debian can just ignore it. Perhaps a comment could be added to CMakeLists.txt or README to make that clear

The failing CGAL 5 build is documented at https://buildd.debian.org/status/package.php?p=pygalmesh
x86_64-linux-gnu-gcc is used for the linking step. This is with python3.8, so it could be possible that setuptools needs to be updated for the python3.8 context.

from pygalmesh.

nschloe avatar nschloe commented on June 3, 2024

Fixing this right now.

from pygalmesh.

nschloe avatar nschloe commented on June 3, 2024

Alright, all done now.

from pygalmesh.

drew-parsons avatar drew-parsons commented on June 3, 2024

Thanks, will test.

from pygalmesh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.