View Issue Details

IDProjectCategoryView StatusLast Update
0033612CommunityOCCT:Configurationpublic2024-04-12 13:33
Reporterefferre79 Assigned Todpasukhi  
PrioritynormalSeveritymajor 
Status assignedResolutionopen 
PlatformLinuxOSGentoo 
Product Version7.7.0 
Target Version7.9.0 
Summary0033612: Configuration - build configuration may fail to detect TBB external libraries
DescriptionWhen trying to configure the sources with -DUSE_TBB=yes, the opencascade configuration system assumes that the installed TBB files were compiled with Release configuration (i.e. built with CMAKE_BUILD_TYPE=Release). This is not always true, here is attached a simple patch to fix the issue doing something similar to VTK detection in adm/cmake/vtk.cmake.
Steps To Reproduceuse cmake with -DUSE_TBB on a system where TBB has not been installed with Release configuration
Additional information
and documentation updates
the issue is still present in the last development version in the git repository
TagsNo tags attached.
Test case number

Attached Files

  • opencascade-7.7.0-tbb-detection.patch (2,328 bytes)

Activities

efferre79

2024-02-24 21:50

reporter  

opencascade-7.7.0-tbb-detection.patch (2,328 bytes)

dpasukhi

2024-02-24 22:02

administrator   ~0115164

Dear @efferre79 thank you for a patch.
Currently TBB integration is a little incorrect and Iḿ reworking that.
But as a hotfix, we integrate your solution.

dpasukhi

2024-02-24 22:03

administrator   ~0115165

At least I have the same issue on Debian 11(aarch64)

git

2024-04-12 13:33

administrator   ~0115693

Branch CR33612 has been created by dpasukhi.

SHA-1: 922093097475576b30e36368eb372ee26a47c432


Detailed log of new commits:

Author: dpasukhi
Date: Fri Apr 12 10:32:07 2024 +0000

    0033612: Configuration - build configuration may fail to detect TBB external libraries
    
    Fixed TBB type to depends on package

Issue History

Date Modified Username Field Change
2024-02-24 21:50 efferre79 New Issue
2024-02-24 21:50 efferre79 Assigned To => dpasukhi
2024-02-24 21:50 efferre79 File Added: opencascade-7.7.0-tbb-detection.patch
2024-02-24 21:59 dpasukhi Category OCCT:Coding => OCCT:Configuration
2024-02-24 21:59 dpasukhi Summary build configuration may fail to detect TBB external libraries => Configuration - build configuration may fail to detect TBB external libraries
2024-02-24 22:02 dpasukhi Note Added: 0115164
2024-02-24 22:03 dpasukhi Note Added: 0115165
2024-02-26 14:54 dpasukhi Status new => assigned
2024-02-26 14:54 dpasukhi Target Version => 7.8.1
2024-04-12 13:33 git Note Added: 0115693
2024-04-12 13:33 dpasukhi Target Version 7.8.1 => 7.9.0