Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libnux
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Apps
BrainScaleS
libnux
Commits
fca1ebfa
Commit
fca1ebfa
authored
3 years ago
by
Philipp Spilger
Browse files
Options
Downloads
Patches
Plain Diff
Fix multiple installations of same files
* lead to race conditions Change-Id: I99c1baefecda7b4922ee63f28e990444f194d61c
parent
484abe7c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wscript
+17
-9
17 additions, 9 deletions
wscript
with
17 additions
and
9 deletions
wscript
+
17
−
9
View file @
fca1ebfa
...
...
@@ -123,20 +123,28 @@ def build(bld):
env = env,
)
bld.install_files(
dest = '${PREFIX}/include/',
files = bld.path.ant_glob('libnux/{,vx/}*.(h|tcc)'),
name = f"nux_vx_header",
relative_trick = True
)
bld.install_files(
dest = '${PREFIX}/share/',
files = bld.path.ant_glob('libnux/*.x'),
name = f"nux_vx_linker_file",
relative_trick = True
)
for chip_version_number in [1, 2, 3]:
env = bld.all_envs[f"nux_vx_v{chip_version_number}"]
bld.install_files(
dest = '${PREFIX}/include/',
files = bld.path.ant_glob('libnux/**/*.(h|tcc)'),
files = bld.path.ant_glob(
f
'libnux/
vx/v{chip_version_number}/
**/*.(h|tcc)'),
name = f"nux_vx_v{chip_version_number}_header",
relative_trick = True
)
bld.install_files(
dest = '${PREFIX}/share/',
files = bld.path.ant_glob('libnux/**/*.(x)'),
name = f"nux_vx_v{chip_version_number}_linker_file",
depends_on = ["nux_vx_header"],
relative_trick = True
)
...
...
@@ -144,7 +152,7 @@ def build(bld):
target = f"nux_inc_vx_v{chip_version_number}",
export_includes = ["."],
depends_on = [f"nux_vx_v{chip_version_number}_header",
f"nux_vx_
v{chip_version_number}_
linker_file"],
f"nux_vx_linker_file"],
env = env,
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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