Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
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
Klaus Noelp
ebrains-spack-builds
Commits
10873f95
Commit
10873f95
authored
2 years ago
by
Eric Müller
Browse files
Options
Downloads
Patches
Plain Diff
Fix hxtorch (workaround lib-vendoring issue of pthreadpool)
parent
1afda157
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/hxtorch/package.py
+7
-5
7 additions, 5 deletions
packages/hxtorch/package.py
with
7 additions
and
5 deletions
packages/hxtorch/package.py
+
7
−
5
View file @
10873f95
...
...
@@ -89,14 +89,16 @@ class Hxtorch(WafPackage):
print
(
"
libs: manually adding
"
,
self
.
spec
[
'
llvm
'
].
prefix
.
lib
)
library
.
append
(
self
.
spec
[
'
llvm
'
].
prefix
.
lib
)
# explicitly add googletest library if it isn't found above
# explicitly add googletest library if it isn't found above;
# adding in front of the list of libraries is a hack to circumvent
# issues from vendoring packages like pthreadpool
if
not
any
(
'
googletest
'
in
lib
for
lib
in
library
):
if
os
.
path
.
isdir
(
self
.
spec
[
'
googletest
'
].
prefix
.
lib64
):
print
(
"
libs: manually
adding
"
,
self
.
spec
[
'
googletest
'
].
prefix
.
lib64
)
library
.
append
(
self
.
spec
[
'
googletest
'
].
prefix
.
lib64
)
print
(
"
libs: manually
inserting at front
"
,
self
.
spec
[
'
googletest
'
].
prefix
.
lib64
)
library
.
insert
(
0
,
self
.
spec
[
'
googletest
'
].
prefix
.
lib64
)
if
os
.
path
.
isdir
(
self
.
spec
[
'
googletest
'
].
prefix
.
lib
):
print
(
"
libs: manually
adding
"
,
self
.
spec
[
'
googletest
'
].
prefix
.
lib
)
library
.
append
(
self
.
spec
[
'
googletest
'
].
prefix
.
lib
)
print
(
"
libs: manually
inserting at front
"
,
self
.
spec
[
'
googletest
'
].
prefix
.
lib
)
library
.
insert
(
0
,
self
.
spec
[
'
googletest
'
].
prefix
.
lib
)
env
.
set
(
'
CPATH
'
,
'
:
'
.
join
(
include
))
env
.
set
(
'
C_INCLUDE_PATH
'
,
'
:
'
.
join
(
include
))
...
...
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