* Re: Pybind11
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18873@inbox.vuxu.org>
@ 2020-02-11 11:39 ` voidlinux-github
2020-03-05 20:22 ` Pybind11 yopito
` (3 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: voidlinux-github @ 2020-02-11 11:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 497 bytes --]
New comment by NeelChotai on void-packages repository
https://github.com/void-linux/void-packages/pull/18873#issuecomment-584595320
Comment:
I don't think this should require the `python3` prefix, you could remove that and the `wrksrc` line.
`short_desc` should read `lightweight header-only library that exposes C++ types in Python and vice versa`
Cross-compilation errors may be related to https://github.com/pybind/pybind11/issues/1330 and https://github.com/pybind/pybind11/issues/99.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Pybind11
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18873@inbox.vuxu.org>
2020-02-11 11:39 ` Pybind11 voidlinux-github
@ 2020-03-05 20:22 ` yopito
2020-03-10 14:32 ` Pybind11 gspe
` (2 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: yopito @ 2020-03-05 20:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 359 bytes --]
New comment by yopito on void-packages repository
https://github.com/void-linux/void-packages/pull/18873#issuecomment-595428639
Comment:
I have a WIP that is crossbuilding with these:
```
build_style=cmake
configure_args="-DPYTHON_EXECUTABLE=/usr/bin/python3"
hostmakedepends="python3-devel python3-pytest"
makedepends="python3-devel boost-devel"
```
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Pybind11
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18873@inbox.vuxu.org>
2020-02-11 11:39 ` Pybind11 voidlinux-github
2020-03-05 20:22 ` Pybind11 yopito
@ 2020-03-10 14:32 ` gspe
2020-05-18 17:59 ` Pybind11 ahesford
2020-05-20 20:23 ` [PR PATCH] [Closed]: Pybind11 Chocimier
4 siblings, 0 replies; 5+ messages in thread
From: gspe @ 2020-03-10 14:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1156 bytes --]
New comment by gspe on void-packages repository
https://github.com/void-linux/void-packages/pull/18873#issuecomment-597118155
Comment:
This template doesn't build python files and has unnecessary dependency `depends="boost python3" `
The follow template works, and should cross-compile:
```
# Template file for 'pybind11'
pkgname=pybind11
version=2.4.3
revision=1
build_style=cmake
configure_args="-D PYTHON_INCLUDE_DIR=ON -D PYBIND11_MASTER_PROJECT=ON -D PYBIND11_TEST=OFF"
hostmakedepends="python3-devel python3-setuptools"
makedepends="python3-devel"
short_desc="Seamless operability between C++11 and Python"
maintainer="Giuseppe Fierro <gspe@ae-design.ws>"
license="BSD-3-Clause"
homepage="https://pybind11.readthedocs.io"
distfiles="https://github.com/pybind/${pkgname}/archive/v${version}.tar.gz"
checksum=1eed57bc6863190e35637290f97a20c81cfe4d9090ac0a24f3bbf08f265eb71d
# build python package
post_build() {
# cmake already install pybind11 headers
export PYBIND11_USE_CMAKE=ON
python3 setup.py build
python3 setup.py install --prefix=/usr --root=${DESTDIR}
}
post_install() {
vlicense LICENSE
}
```
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Pybind11
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18873@inbox.vuxu.org>
` (2 preceding siblings ...)
2020-03-10 14:32 ` Pybind11 gspe
@ 2020-05-18 17:59 ` ahesford
2020-05-20 20:23 ` [PR PATCH] [Closed]: Pybind11 Chocimier
4 siblings, 0 replies; 5+ messages in thread
From: ahesford @ 2020-05-18 17:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 390 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/pull/18873#issuecomment-630344398
Comment:
This is resolved by #20218; the CMake modules are fundamentally broken in `pybind11` and, until they are fixed upstream, are excluded from the Void project. [Upstream issue #2139](https://github.com/pybind/pybind11/issues/2139) tracks this problem.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Closed]: Pybind11
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18873@inbox.vuxu.org>
` (3 preceding siblings ...)
2020-05-18 17:59 ` Pybind11 ahesford
@ 2020-05-20 20:23 ` Chocimier
4 siblings, 0 replies; 5+ messages in thread
From: Chocimier @ 2020-05-20 20:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 142 bytes --]
There's a closed pull request on the void-packages repository
Pybind11
https://github.com/void-linux/void-packages/pull/18873
Description:
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-05-20 20:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18873@inbox.vuxu.org>
2020-02-11 11:39 ` Pybind11 voidlinux-github
2020-03-05 20:22 ` Pybind11 yopito
2020-03-10 14:32 ` Pybind11 gspe
2020-05-18 17:59 ` Pybind11 ahesford
2020-05-20 20:23 ` [PR PATCH] [Closed]: Pybind11 Chocimier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).