Skip to content

Difference in binary build size between official distribution package and self-compiling (Arch Linux) #3208

Closed as not planned
@hansmiller75

Description

@hansmiller75

I previously opened this issue on the nodejs main repo but it seems to have been deleted.

I'm an Arch Linux user and the official build size of node when installed as a package is about 29 MB. When I download the PKGBUILD file myself (the file containing instructions how to build the package) and run makepkg, I also get a binary that's the same size as the official one.

But when I clone the nodejs repository, switch to the v15.7.0 tag, run configure with the same flags as in the PKGBUILD:

./configure
--prefix=/usr
--with-intl=system-icu
--without-npm
--shared-openssl
--shared-zlib
--shared-libuv
--experimental-http-parser
--shared-nghttp2

and then run make, I get a build that's about 10 MB larger, 39 MB.

Am I doing something wrong or missing something?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions