Re: Recalling Key Points of the Previous Attempt (was: Re: Regarding the new "Debian User Repository"

2021-07-05 Thread Paul Wise
On Mon, 2021-07-05 at 11:02 +, M. Zhou wrote:

> Supporting multiple ISA variants based on ld.so means a
> multiple of the current package size.

Apart from the -cc2-dbgsym package those seem fine to multiply,
especially since the intended users probably have lots of disk space.
There is also the option of splitting the hwcap files into one package
per ISA variant to keep each individual package small.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Re: Recalling Key Points of the Previous Attempt (was: Re: Regarding the new "Debian User Repository"

2021-07-05 Thread M. Zhou
On Mon, 2021-07-05 at 02:09 +, Paul Wise wrote:
On Sun, Jul 4, 2021 at 11:20 AM Mo Zhou wrote:
> (2) use the "hardware capabilities" feature of ld.so(8)
...
> Solution (2) will result in very bulky binary packages;

Solution (2) seems like the only option that can be done entirely
within Debian, how bulky are the packages that use this?


For example, the latest tensorflow packaging (in NEW queue)
results in these binary debs:
(thanks to Wookey, Michael, and Andreas for their work!)

~/Debian/tensorflow  ls -lh *.deb   


 18:57:24
-rw-r--r-- 1 root root  36M Jul  5 15:25 libtensorflow-cc2_2.3.1-1_amd64.deb
-rw-r--r-- 1 root root 1.7G Jul  5 15:25 
libtensorflow-cc2-dbgsym_2.3.1-1_amd64.deb
-rw-r--r-- 1 root root 629K Jul  5 15:25 libtensorflow-dev_2.3.1-1_amd64.deb
-rw-r--r-- 1 root root 5.6M Jul  5 15:25 
libtensorflow-framework2_2.3.1-1_amd64.deb
-rw-r--r-- 1 root root 128M Jul  5 15:25 
libtensorflow-framework2-dbgsym_2.3.1-1_amd64.deb

Supporting multiple ISA variants based on ld.so means a
multiple of the current package size.



Re: Recalling Key Points of the Previous Attempt (was: Re: Regarding the new "Debian User Repository"

2021-07-04 Thread Paul Wise
On Sun, Jul 4, 2021 at 11:20 AM Mo Zhou wrote:

> There are a few methods to bump the ISA baseline for a debian package
> for the official archive: (1) patch the code with gcc's fmv feature;
> (2) use the "hardware capabilities" feature of ld.so(8); (3) let the
> user modify debian/rules and rebuild package locally; (4) directly
> bump the ISA baseline for the whole archive; (5) Gentoo-style
> source-based partial Debian distribution.
...
> Solution (2) will result in very bulky binary packages;

Solution (2) seems like the only option that can be done entirely
within Debian, how bulky are the packages that use this?

-- 
bye,
pabs

https://wiki.debian.org/PaulWise