View Issue Details

IDProjectCategoryView StatusLast Update
0033612CommunityOCCT:Configurationpublic2024-09-14 22:00
Reporterefferre79 Assigned Tobugmaster  
PrioritynormalSeveritymajor 
Status verifiedResolutionfixed 
PlatformLinuxOSGentoo 
Product Version7.7.0 
Target Version7.9.0Fixed in Version7.9.0 
Summary0033612: Configuration - Build configuration may fail to detect TBB
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 numbernone

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

dpasukhi

2024-08-25 11:43

administrator   ~0116551

Dear bugmaster,
please integrate:
OCCT: CR33612

PR - https://github.com/Open-Cascade-SAS/OCCT/pull/41

git

2024-09-14 22:00

administrator   ~0116653

Branch CR33612 has been deleted by dpasukhi.

SHA-1: 922093097475576b30e36368eb372ee26a47c432

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
2024-08-25 11:31 dpasukhi Summary Configuration - build configuration may fail to detect TBB external libraries => Configuration - Build configuration may fail to detect TBB
2024-08-25 11:42 dpasukhi Status assigned => resolved
2024-08-25 11:43 dpasukhi Assigned To dpasukhi => bugmaster
2024-08-25 11:43 dpasukhi Status resolved => reviewed
2024-08-25 11:43 dpasukhi Note Added: 0116551
2024-08-28 14:55 dpasukhi Status reviewed => verified
2024-08-28 14:55 dpasukhi Resolution open => fixed
2024-08-28 14:55 dpasukhi Fixed in Version => 7.9.0
2024-08-28 14:55 dpasukhi Test case number => none
2024-09-14 22:00 git Note Added: 0116653