Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
38
Issue boards
Milestones
Wiki
Code
Merge requests
30
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
Platform
EBRAINS Software Distribution
ebrains-spack-builds
Merge requests
!300
add spack post-installation testing
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
add spack post-installation testing
test-spacktests-workaround
into
master
Overview
0
Commits
141
Pipelines
2
Changes
31
Merged
Eleni Mathioulaki
requested to merge
test-spacktests-workaround
into
master
2 years ago
Overview
0
Commits
141
Pipelines
2
Changes
5
Expand
This Merge Request:
adds or fixes tests for most EBRAINS (top-level) Spack packages
adapts gitlab CI and installation script to run tests at installation time
0
0
Merge request reports
Viewing commit
34105713
Prev
Next
Show latest version
5 files
+
34
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
34105713
fix conflicts
· 34105713
Eleni Mathioulaki
authored
2 years ago
packages/hxtorch/package.py
+
5
−
2
Options
@@ -2,9 +2,10 @@
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import
os
from
spack
import
*
from
spack.pkg.builtin.boost
import
Boost
import
os
class
Hxtorch
(
WafPackage
):
@@ -128,7 +129,7 @@ class Hxtorch(WafPackage):
env
.
set
(
'
C_INCLUDE_PATH
'
,
'
:
'
.
join
(
include
))
env
.
set
(
'
CPLUS_INCLUDE_PATH
'
,
'
:
'
.
join
(
include
))
env
.
set
(
'
LIBRARY_PATH
'
,
'
:
'
.
join
(
library
))
env
.
set
(
'
LD_LIBRARY_PATH
'
,
'
:
'
.
join
(
library
))
env
.
set
(
'
WAF_CONFIGURE_
LD_LIBRARY_PATH
'
,
'
:
'
.
join
(
library
))
env
.
prepend_path
(
'
PATH
'
,
'
:
'
.
join
(
path
))
def
setup_run_environment
(
self
,
env
):
@@ -164,6 +165,8 @@ class Hxtorch(WafPackage):
args
=
[
'
--prefix={0}
'
.
format
(
self
.
prefix
)]
args
+=
self
.
configure_args
()
env
=
os
.
environ
env
[
'
LD_LIBRARY_PATH
'
]
=
env
.
get
(
'
WAF_CONFIGURE_LD_LIBRARY_PATH
'
)
self
.
waf
(
'
configure
'
,
'
--build-profile=release
'
,
*
args
)
def
build_args
(
self
):