summaryrefslogtreecommitdiff
blob: d7148c241f1143756dac6380f0c6491eb57a5c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
#
# This file sets needed and optional environment variables for
# Open CASCADE Technology
#
# See: https://dev.opencascade.org/doc/overview/html/index.html#OCCT_OVW_SECTION_4_2
# for further documentation.
#
# Some of the values are set at compile time depending on what USE flags
# were enabled. Those values are marked as such.

# define the root directory of Open CASCADE Technology (needed)
CASROOT="VAR_CASROOT"
PATH="VAR_CASROOT/lib/opencascade-VAR_PV/bin"
LDPATH="VAR_CASROOT/lib/opencascade-VAR_PV"

#############################################################################
# The MMGT_* variables are used to determine how memory management will work
# in OCCT. All of those are optional. If they are not set here, their default
# values will be used.
#
# Uncomment or change the ones you need to adapt from its default.
#############################################################################
# MMGT_OPT = {0,1,2} (default: 0) set at compile time
#   if set to 0 (the default), every memory block is allocated in C
#      memory heap directly (via malloc() and free()). Will be set, if
#      neither the the 'optimize' nor the 'tbb' USE flags are set.
#   if set to 1, the memory manager performs it's own internal optimization.
#      Will be set, if the 'optimize' USE flag is set.
#   if set to 2, Intel(R) TBB optimized memory manager is used. Will be set,
#      if the 'tbb' USE flag is set.
#MMGT_OPT=0

# MMGT_CLEAR = {0,1} (default: 1)
#   if set to 0, memory block is returned as it is. Will be set, if the
#      'optimize' USE flag is set
#   if set to 1, every allocated memory block is cleared by zeros
#MMGT_CLEAR=1

# MMGT_CELLSIZE (default: 200)
#   defines the maximal size of blocks allocated in large pools of memory.
#MMGT_CELLSIZE=200

# MMGT_NBPAGES (default: 10000)
#   defines the size of memory chunks allocated for small blocks in pages
#      (OS dependant)
#MMGT_NBPAGES=10000

# MMGT_THRESHOLD (default: 40000)
#   defines the maximal size of blocks that are recycled internally instead
#   of being returned to the heap.
#MMGT_THRESHOLD=40000

# MMGT_MMAP = {0,1} (default: 1)
#   if set to 0, large memory blocks will be allocated in the C heap by
#      malloc()
#   if set to 1, large memory blocks are allocated using memory mapping
#      functions of the operating system.
#MMGT_MMAP=1

# CSF_LANGUAGE (default: us) optional
#   defines the default language of messages indicated by a two-letter
#   country code. Currently it's not verified if this work with other
#   than the default languages, so we keep it commented.
#CSF_LANGUAGE=us

# CSF_DEBUG_BOP (default: undefined) optional
#   if defined then it should specify the directory where diagnostic data
#   on problems occured in Boolean operations will be saved. Not defined by
#   default.
#
# NOTE: Only enable for debugging purposes. If set, this variable has a
# large impact on the performance of boolean operations.
#CSF_DEBUG_BOP="/var/tmp"

# CSF_EXCEPTION_PROMPT (default: 1) optional
#   not documented upstream (maybe a flag indicating whether the user shall
#   be prompted in the case of exceptions)
#CSF_EXCEPTION_PROMPT=1

# The following CSF_* variables define various directories and files where
# OCCT is looking for resources.
CSF_GraphicShr="VAR_CASROOT/lib/opencascade-VAR_PV/libTKOpenGl.so"
CSF_MIGRATION_TYPES="VAR_CASROOT/share/opencascade-VAR_PV/resources/StdResource/MigrationSheet.txt"
CSF_MDTVTexturesDirectory="VAR_CASROOT/share/opencascade-VAR_PV/resources/Textures"
CSF_PluginDefaults="VAR_CASROOT/share/opencascade-VAR_PV/resources/StdResource"
CSF_StandardDefaults="VAR_CASROOT/share/opencascade-VAR_PV/resources/StdResource"
CSF_StandardLiteDefaults="VAR_CASROOT/share/opencascade-VAR_PV/resources/StdResource"
CSF_XCAFDefaults="VAR_CASROOT/share/opencascade-VAR_PV/resources/StdResource"
CSF_XmlOcafResource="VAR_CASROOT/share/opencascade-VAR_PV/resources/XmlOcafResource"
# The below values might be optional.
CSF_IGESDefaults="VAR_CASROOT/share/opencascade-VAR_PV/resources/XSTEPResource"
CSF_ShadersDirectory="VAR_CASROOT/share/opencascade-VAR_PV/resources/Shaders"
CSF_SHMessage="VAR_CASROOT/share/opencascade-VAR_PV/resources/SHMessage"
CSF_STEPDefaults="VAR_CASROOT/share/opencascade-VAR_PV/resources/XSTEPResource"
CSF_UnitsDefinition="VAR_CASROOT/share/opencascade-VAR_PV/resources/UnitsAPI/Units.dat"
CSF_XSMessage="VAR_CASROOT/share/opencascade-VAR_PV/resources/XSMessage"

# TODO: check those
# they were defined in the original ebuild but the directories and files
# are not present in the current installation.
#CSF_MDTVFontDirectory="VAR_CASROOT/src/FontMFT"
#CSF_UnitsLexicon="VAR_CASROOT/src/UnitsAPI/Lexi_Expr.dat"