Skip to content

Various library bundling nits #46872

@KristofferC

Description

@KristofferC

Multiple copies of the same library on Windows:

On Windows we seem to concretize symlinks into copies of the libraries which leads to duplication:

-rw------- 1 kc kc 2.2M Sep  9 11:36 libblastrampoline-5-0-2.dll
-rw------- 1 kc kc 2.2M Sep  9 11:36 libblastrampoline-5.dll
-rw------- 1 kc kc 2.2M Sep  9 11:36 libblastrampoline.dll

We only use libblastrampoline.dll anyway.

Different libpcre2 versions shipped on Windows:

-rw------- 1 kc kc 689K Sep  9 11:37 libpcre2-16-0.dll
-rw------- 1 kc kc 689K Sep  9 11:37 libpcre2-16.dll
-rw------- 1 kc kc 661K Sep  9 11:37 libpcre2-32-0.dll
-rw------- 1 kc kc 661K Sep  9 11:37 libpcre2-32.dll
-rw------- 1 kc kc 751K Sep  9 11:37 libpcre2-8-0.dll
-rw------- 1 kc kc 751K Sep  9 11:37 libpcre2-8.dll
-rw------- 1 kc kc 112K Sep  9 11:37 libpcre2-posix-3.dll

but I think we only use libpcre2-8.dll.

Some LLVM support libs only shipped on Windows:

-rw------- 1 kc kc 293K Sep  9 11:37 libRemarks.dll
-rw------- 1 kc kc 390K Sep  9 11:37 libLTO.dll
-rw------- 1 kc kc 326K Sep  9 11:37 libmlir_async_runtime.dll
-rw------- 1 kc kc 901K Sep  9 11:37 libmlir_c_runner_utils.dll
-rw------- 1 kc kc 323K Sep  9 11:37 libmlir_runner_utils.dll

are they needed?

Inconsisteny in naming of libLLVM:

libLLVM.dylib
libLLVM-13jl.so 
libLLVM-13jl.dll

Maybe mac should have -13jl as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildingBuild system, or building Julia or its dependencies

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions