Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
waves
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aerospace and Mechanical Engineering
waves
Commits
22cb35b2
Commit
22cb35b2
authored
3 years ago
by
Adrien Crovato
Browse files
Options
Downloads
Patches
Plain Diff
Retry patch
parent
721dacaa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!67
v2.2.1 - Update windows build and TBB
Pipeline
#3918
passed with warnings
3 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
fwk/wutils.py
+0
-8
0 additions, 8 deletions
fwk/wutils.py
tbox/src/CMakeLists.txt
+3
-0
3 additions, 0 deletions
tbox/src/CMakeLists.txt
with
3 additions
and
8 deletions
fwk/wutils.py
+
0
−
8
View file @
22cb35b2
...
...
@@ -137,14 +137,6 @@ def initDLL():
# ------------------------------------------------------------------------------
def
initTBB
():
# For TBB <= 2019.4, needed to include global_control
# @todo to be removed
import
os
os
.
environ
[
'
TBB_PREVIEW_GLOBAL_CONTROL
'
]
=
'
TRUE
'
#-------------------------------------------------------------------------------
def
initMKL
(
nthreads
):
import
os
# we try to have full control over the threading environment
...
...
This diff is collapsed.
Click to expand it.
tbox/src/CMakeLists.txt
+
3
−
0
View file @
22cb35b2
...
...
@@ -25,6 +25,9 @@ TARGET_INCLUDE_DIRECTORIES(tbox PUBLIC ${PROJECT_SOURCE_DIR}/tbox/src)
FIND_PACKAGE
(
TBB REQUIRED
)
SET
(
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS_DEBUG
}
${
TBB_CXX_FLAGS_DEBUG
}
"
)
TARGET_INCLUDE_DIRECTORIES
(
tbox PUBLIC
${
TBB_INCLUDE_DIRS
}
)
IF
(
TBB_VERSION_INTERFACE LESS 11004
)
TARGET_COMPILE_DEFINITIONS
(
tbox PUBLIC TBB_PREVIEW_GLOBAL_CONTROL
)
ENDIF
()
TARGET_LINK_LIBRARIES
(
tbox
${
TBB_LIBRARIES
}
)
# -- MKL/BLAS/LAPACK --
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment