Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
30
Issue boards
Milestones
Wiki
Code
Merge requests
32
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
!579
Draft: feat(BSS2): add quiggeldy (service) [DO-NOT-MERGE]
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Draft: feat(BSS2): add quiggeldy (service) [DO-NOT-MERGE]
test_quiggeldy_service
into
master
Overview
4
Commits
1
Pipelines
3
Changes
2
Open
Eric Müller
requested to merge
test_quiggeldy_service
into
master
7 months ago
Overview
4
Commits
1
Pipelines
3
Changes
2
Expand
0
0
Merge request reports
Compare
master
version 28
4706a2b3
1 week ago
version 27
4706a2b3
1 week ago
version 26
4706a2b3
1 week ago
version 25
4706a2b3
1 week ago
version 24
4706a2b3
2 weeks ago
version 23
4706a2b3
1 month ago
version 22
4706a2b3
2 months ago
version 21
4706a2b3
2 months ago
version 20
4706a2b3
2 months ago
version 19
4706a2b3
2 months ago
version 18
4706a2b3
2 months ago
version 17
4706a2b3
2 months ago
version 16
4706a2b3
2 months ago
version 15
4706a2b3
2 months ago
version 14
4706a2b3
2 months ago
version 13
4706a2b3
2 months ago
version 12
4706a2b3
3 months ago
version 11
4706a2b3
3 months ago
version 10
4706a2b3
3 months ago
version 9
4706a2b3
4 months ago
version 8
4706a2b3
4 months ago
version 7
4706a2b3
4 months ago
version 6
4706a2b3
4 months ago
version 5
4706a2b3
4 months ago
version 4
4706a2b3
5 months ago
version 3
4706a2b3
7 months ago
version 2
53ae5da6
7 months ago
version 1
a4726fd9
7 months ago
master (HEAD)
and
latest version
latest version
4706a2b3
1 commit,
1 week ago
version 28
4706a2b3
1 commit,
1 week ago
version 27
4706a2b3
1 commit,
1 week ago
version 26
4706a2b3
1 commit,
1 week ago
version 25
4706a2b3
1 commit,
1 week ago
version 24
4706a2b3
1 commit,
2 weeks ago
version 23
4706a2b3
1 commit,
1 month ago
version 22
4706a2b3
1 commit,
2 months ago
version 21
4706a2b3
1 commit,
2 months ago
version 20
4706a2b3
1 commit,
2 months ago
version 19
4706a2b3
1 commit,
2 months ago
version 18
4706a2b3
1 commit,
2 months ago
version 17
4706a2b3
1 commit,
2 months ago
version 16
4706a2b3
1 commit,
2 months ago
version 15
4706a2b3
1 commit,
2 months ago
version 14
4706a2b3
1 commit,
2 months ago
version 13
4706a2b3
1 commit,
2 months ago
version 12
4706a2b3
1 commit,
3 months ago
version 11
4706a2b3
1 commit,
3 months ago
version 10
4706a2b3
1 commit,
3 months ago
version 9
4706a2b3
1 commit,
4 months ago
version 8
4706a2b3
1 commit,
4 months ago
version 7
4706a2b3
1 commit,
4 months ago
version 6
4706a2b3
1 commit,
4 months ago
version 5
4706a2b3
1 commit,
4 months ago
version 4
4706a2b3
1 commit,
5 months ago
version 3
4706a2b3
1 commit,
7 months ago
version 2
53ae5da6
1 commit,
7 months ago
version 1
a4726fd9
1 commit,
7 months ago
2 files
+
64
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
packages/quiggeldy/package.py
0 → 100644
+
62
−
0
Options
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import
os
import
unittest.mock
import
xml.etree.ElementTree
as
ET
from
spack
import
*
from
spack.util.environment
import
EnvironmentModifications
import
spack.build_environment
import
importlib
build_brainscales
=
importlib
.
import_module
(
"
spack.pkg.ebrains-spack-builds.build_brainscales
"
)
class
Quiggeldy
(
build_brainscales
.
BuildBrainscales
):
"""
quiggeldy --- the low-latency/high-throughput BSS-2 nmhw resource scheduler
"""
homepage
=
"
https://github.com/electronicvisions/hxcomm
"
git
=
"
https://github.com/electronicvisions/hxcomm
"
maintainers
=
[
"
emuller
"
,
"
muffgaga
"
]
# host software dependencies
depends_on
(
'
bitsery
'
,
type
=
(
'
build
'
,
'
link
'
,
'
run
'
,
'
test
'
))
depends_on
(
'
binutils+gold+ld+plugins
'
,
type
=
(
'
build
'
,
'
link
'
,
'
run
'
))
# specialize
depends_on
(
'
boost@1.69.0: +graph+icu+mpi+numpy+coroutine+context+filesystem+python+serialization+system+thread+program_options cxxstd=17
'
,
type
=
(
'
build
'
,
'
link
'
,
'
run
'
,
'
test
'
))
depends_on
(
'
cereal
'
,
type
=
(
'
build
'
,
'
link
'
,
'
run
'
,
'
test
'
))
depends_on
(
'
cppcheck
'
,
type
=
(
'
build
'
,
'
link
'
,
'
run
'
))
depends_on
(
'
gflags
'
,
type
=
(
'
build
'
,
'
link
'
,
'
run
'
))
depends_on
(
'
googletest@1.11.0:+gmock
'
,
type
=
(
'
build
'
,
'
link
'
,
'
run
'
))
# variadic templates needed
depends_on
(
'
liblockfile
'
,
type
=
(
'
build
'
,
'
link
'
,
'
run
'
))
depends_on
(
'
log4cxx@0.12.1:1.0
'
,
when
=
"
@:8.0-a3
"
,
type
=
(
'
build
'
,
'
link
'
,
'
run
'
))
depends_on
(
'
log4cxx@1.1: +events_at_exit
'
,
when
=
"
@8.0-a4:
"
,
type
=
(
'
build
'
,
'
link
'
,
'
run
'
))
depends_on
(
'
pkgconfig
'
,
type
=
(
'
build
'
,
'
link
'
,
'
run
'
))
depends_on
(
'
psmisc
'
,
type
=
(
'
run
'
,
'
test
'
))
depends_on
(
'
util-linux
'
,
type
=
(
'
build
'
,
'
link
'
,
'
run
'
))
depends_on
(
'
yaml-cpp+shared
'
,
type
=
(
'
build
'
,
'
link
'
,
'
run
'
))
# override configure step as we only want to build quiggeldy from hxcomm
def
configure
(
self
,
spec
,
prefix
):
args
=
[
'
--prefix={0}
'
.
format
(
self
.
prefix
)]
args
+=
self
.
configure_args
()
if
spec
.
version
>=
Version
(
"
9
"
):
self
.
waf
(
'
setup
'
,
'
--directory=hxcomm
'
,
'
--repo-db-url=https://github.com/electronicvisions/projects
'
)
self
.
waf
(
'
configure
'
,
'
--build-profile=release
'
,
'
--disable-doxygen
'
,
*
args
)
def
build_args
(
self
):
args
=
super
(
BuildBrainscales
,
self
).
build_args
()
args
.
append
(
"
--targets=quiggeldy
"
)
return
args
def
install_test
(
self
):
with
working_dir
(
'
spack-test
'
,
create
=
True
):
old_pythonpath
=
os
.
environ
.
get
(
'
PYTHONPATH
'
,
''
)
os
.
environ
[
'
PYTHONPATH
'
]
=
'
:
'
.
join
([
str
(
self
.
prefix
.
lib
),
old_pythonpath
])
bash
=
which
(
"
bash
"
)
# ignore segfaults for now (exit code 139)
bash
(
'
-c
'
,
'
(python -c
"
import hxtorch; print(hxtorch.__file__)
"
|| ( test $? -eq 139 && echo
"
segfault
"
)) || exit $?
'
)