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
4706a2b3
Commit
4706a2b3
authored
7 months ago
by
Eric Müller
Browse files
Options
Downloads
Patches
Plain Diff
feat(BSS2): add quiggeldy (service) [DO-NOT-MERGE]
parent
14d9b195
Branches
test_quiggeldy_service
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/quiggeldy/package.py
+62
-0
62 additions, 0 deletions
packages/quiggeldy/package.py
spack.yaml
+2
-0
2 additions, 0 deletions
spack.yaml
with
64 additions
and
0 deletions
packages/quiggeldy/package.py
0 → 100644
+
62
−
0
View file @
4706a2b3
# 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 $?
'
)
This diff is collapsed.
Click to expand it.
spack.yaml
+
2
−
0
View file @
4706a2b3
...
...
@@ -70,5 +70,7 @@ spack:
#- py-cerebstats
#- py-cerebunit
#- py-morphounit@1.0.4
# Services
-
quiggeldy@9.0-a4
concretizer
:
unify
:
true
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