Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aidge_backend_opencv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
aidge
aidge_backend_opencv
Commits
9630dd73
Commit
9630dd73
authored
11 months ago
by
Grégoire Kubler
Committed by
Maxence Naud
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
fix : before wheel script
parent
7da60197
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!18
v0.1.3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh
+13
-12
13 additions, 12 deletions
.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh
with
13 additions
and
12 deletions
.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh
+
13
−
12
View file @
9630dd73
#!/bin/bash
#!/bin/bash
set
-x
set
-e
set
-e
if
[[
"
$1
"
==
""
]]
;
then
if
[[
"
$1
"
==
""
]]
;
then
echo
"build aidge deps in cibuildwheel container before building wheel."
echo
"build aidge deps in cibuildwheel container before building wheel."
...
@@ -7,23 +6,25 @@ if [[ "$1" == "" ]]; then
...
@@ -7,23 +6,25 @@ if [[ "$1" == "" ]]; then
echo
"Hint : In wheel containers, files are mounted on /host by default."
echo
"Hint : In wheel containers, files are mounted on /host by default."
echo
"
\n
usage : ./cibuildwheel_build_deps_before_build_wheel.sh
$search_path
"
echo
"
\n
usage : ./cibuildwheel_build_deps_before_build_wheel.sh
$search_path
"
fi
fi
set
-x
if
[[
$AIDGE_DEPENDENCIES
==
""
]]
;
then
# case for aidge_ core
if
[[
$AIDGE_DEPENDENCIES
==
""
]]
;
then
# case for aidge_ core
mkdir
-p
build
# creating build if its not already there to hold the build of cpp files
mkdir
-p
build
# creating build if its not already there to hold the build of cpp files
rm
-rf
build/
*
# build from scratch
rm
-rf
build/
*
# build from scratch
else
else
for
repo
in
$AIDGE_DEPENDENCIES
;
do
# case for other projects
for
repo
in
$AIDGE_DEPENDENCIES
;
do
# case for other projects
search_path
=
$1
search_path
=
$1
REPO_PATH
=
$(
find
$search_path
-type
d
-name
$repo
\
REPO_PATH
=
$(
find
$search_path
!
-writable
-prune
-o
-type
d
\
-not
-path
'*install*'
\
-name
"
$repo
"
\
-not
-path
'*.git*'
\
-not
-path
"*/install/*"
\
-not
-path
'*miniconda*'
\
-not
-path
"*/.git/*"
\
-not
-path
'*conda*'
\
-not
-path
"*/miniconda/*"
\
-not
-path
'*.local*'
\
-not
-path
"*/conda/*"
\
-not
-path
"*lib*"
\
-not
-path
"*/.local/*"
\
-not
-path
"*/
$repo
/
$repo
"
\
-not
-path
"*/lib/*"
\
-not
-path
"*/proc/*"
\
-not
-path
"*/
$repo
/
$repo
/*"
\
-print
-quit
)
-not
-path
"*/proc/*"
\
if
[[
"
$REPO_PATH
"
==
""
]]
;
then
-print
-quit
)
if
[[
-z
"
$REPO_PATH
"
]]
;
then
echo
"ERROR : dependency
$repo
not found in search_path
\"
$search_path
\"
. ABORTING."
echo
"ERROR : dependency
$repo
not found in search_path
\"
$search_path
\"
. ABORTING."
exit
-1
exit
-1
fi
fi
...
...
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