Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
faust group
faust
Commits
b525332f
Commit
b525332f
authored
2 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Add an env var to disable libomp loading in pyfaust.
parent
cafe77c5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wrapper/python/libomp_loading.py
+2
-1
2 additions, 1 deletion
wrapper/python/libomp_loading.py
with
2 additions
and
1 deletion
wrapper/python/libomp_loading.py
+
2
−
1
View file @
b525332f
from
sys
import
platform
as
_pf
from
os.path
import
basename
from
os
import
environ
libomp_loading_verbose
=
False
internal_libomp_loading
=
True
...
...
@@ -75,7 +76,7 @@ def try_modify_wrapper_lib_on_macos():
# load libomp pyfaust embedded library if found in pyfaust location
if
_pf
in
[
'
darwin
'
,
'
linux
'
,
'
win32
'
]:
try_modify_wrapper_lib_on_macos
()
if
internal_libomp_loading
:
if
internal_libomp_loading
and
not
'
DISABLE_PYFAUST_LIBOMP
'
in
environ
:
load_lib_omp
()
else
:
inform_user_how_to_install_libomp
()
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