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
f6dac72c
Commit
f6dac72c
authored
2 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Fix conda-build error on libomp patching, it fails libomp loading and so the package test.
parent
253203e6
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
misc/continuous_integration/conda_pkg/conda_build_upload_pyfaust.sh
+19
-3
19 additions, 3 deletions
...nuous_integration/conda_pkg/conda_build_upload_pyfaust.sh
with
19 additions
and
3 deletions
misc/continuous_integration/conda_pkg/conda_build_upload_pyfaust.sh
+
19
−
3
View file @
f6dac72c
...
...
@@ -144,9 +144,25 @@ then
else
echo
"pyfaust conda package already built:
$PKG
"
fi
[[
!
"
$?
"
=
0
]]
&&
echo
"Error: failed to build pyfaust conda package"
&&
exit
7
# find the package
PKG
=
$(
find_pkg
)
if
[[
!
"
$?
"
=
0
]]
;
then
PKG
=
$(
find
$(
conda run
-n
$CONDA_ENV
echo
\$
CONDA_PREFIX
)
-name
"pyfaust-*.bz2"
)
if
[[
$SYSTEM
=
linux
&&
-r
/usr/lib64/libomp.so
&&
-r
"
$PKG
"
]]
then
# NOTE: here is a messy fix for a messy conda-build behaviour
# it tries to patch pyfaust embedded libomp for any reason about library RPATH
# it ends up with a defective libomp that does'nt load anymore
# here we replace the modified libomp with the initial one
# TODO: as far as I know this bug happens only on linux and might be fixed on more recent version of conda, verify
tar
xjvf
$PKG
cp
/usr/lib64/libomp.so lib/python
$PYVER
/site-packages/pyfaust/lib/libomp.so
tar
-cjvf
$PKG
lib info
else
echo
"Error: failed to build pyfaust conda package"
&&
exit
7
fi
else
# find the package
PKG
=
$(
find_pkg
)
fi
#echo pyfaust | conda run -n $CONDA_ENV anaconda login
[[
-z
"
$PKG
"
||
!
-r
"
$PKG
"
]]
&&
echo
"Error: no built package was found in the virtual env directory."
&&
exit
8
[[
!
-r
$TOKEN_FILE
]]
&&
echo
"Error: the anaconda token file
$TOKEN
wasn't found."
&&
exit
9
...
...
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