DiscussionsIssue archiveOCCT:Configuration

Archived issue #0033565

Configuration - JeMalloc process different build types

Open CASCADEOCCT:Configurationverified2 public notes

Search issues

Description

Jemalloc.cmake looks for both static and shared libraries, but only 1 type is required
At the current implementation, jemalloc.cmake is searching for both static library and shared library and requires both of them to be present in jemalloc package. Having only static library or only shared library will fail the whole configuration. At the same time, OCCT requires only 1 library - either static or shared. There is no possibility to control the behavior using CMake variables. Furthermore, having a jemalloc with only static lib or only shared lib will lead to cmake error during OCCT configuration. This makes impossible to use the custom build jemalloc package.

Steps to reproduce

Not applicable

Public activity

2 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Currently static lib need to use into compiler time.
And shared used to install and use in RealTime.
This kind of package was default for vcpkg and own build process of jemalloc,
JeMalloc do not share own CMake configuration, so, we will create some workaround to process pure static build.
Pure shared build probably not possible to integrate into compiler time.
02Commenter 2