-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #645 from lukemartinlogan/dev
Various updates
- Loading branch information
Showing
45 changed files
with
1,306 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,7 @@ class Hermes(CMakePackage): | |
depends_on('mpi') | ||
depends_on('cereal') | ||
depends_on('yaml-cpp') | ||
depends_on('libaio') | ||
depends_on('[email protected]') | ||
depends_on('[email protected]: +context +fiber +filesystem +system +atomic +chrono +serialization +signals +pic +regex') | ||
depends_on('libfabric fabrics=sockets,tcp,udp,verbs', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ class HermesShm(CMakePackage): | |
depends_on('mpi') | ||
depends_on('cereal') | ||
depends_on('yaml-cpp') | ||
depends_on('libaio') | ||
depends_on('[email protected]') | ||
depends_on('[email protected]: +context +fiber +filesystem +system +atomic +chrono +serialization +signals +pic +regex') | ||
depends_on('libfabric fabrics=sockets,tcp,udp,verbs', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Copyright 2013-2023 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) | ||
|
||
|
||
from spack.package import * | ||
|
||
|
||
class Libaio(MakefilePackage): | ||
"""Linux native Asynchronous I/O interface library. | ||
AIO enables even a single application thread to overlap I/O operations | ||
with other processing, by providing an interface for submitting one or | ||
more I/O requests in one system call (io_submit()) without waiting for | ||
completion, and a separate interface (io_getevents()) to reap completed | ||
I/O operations associated with a given completion group. | ||
""" | ||
|
||
homepage = "http://lse.sourceforge.net/io/aio.html" | ||
url = ( | ||
"https://debian.inf.tu-dresden.de/debian/pool/main/liba/libaio/libaio_0.3.110.orig.tar.gz" | ||
) | ||
|
||
version("0.3.113", sha256="2c44d1c5fd0d43752287c9ae1eb9c023f04ef848ea8d4aafa46e9aedb678200b") | ||
version("0.3.110", sha256="e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e") | ||
|
||
conflicts("platform=darwin", msg="libaio is a linux specific library") | ||
|
||
@property | ||
def install_targets(self): | ||
return ["prefix={0}".format(self.spec.prefix), "install"] | ||
|
||
def set_include(self, env, path): | ||
env.append_flags('CFLAGS', '-I{}'.format(path)) | ||
env.append_flags('CXXFLAGS', '-I{}'.format(path)) | ||
env.prepend_path('INCLUDE', '{}'.format(path)) | ||
env.prepend_path('CPATH', '{}'.format(path)) | ||
|
||
def set_lib(self, env, path): | ||
env.prepend_path('LIBRARY_PATH', path) | ||
env.prepend_path('LD_LIBRARY_PATH', path) | ||
env.append_flags('LDFLAGS', '-L{}'.format(path)) | ||
env.prepend_path('PYTHONPATH', '{}'.format(path)) | ||
|
||
def set_flags(self, env): | ||
self.set_include(env, '{}/include'.format(self.prefix)) | ||
self.set_include(env, '{}/include'.format(self.prefix)) | ||
self.set_lib(env, '{}/lib'.format(self.prefix)) | ||
self.set_lib(env, '{}/lib64'.format(self.prefix)) | ||
env.prepend_path('CMAKE_PREFIX_PATH', '{}/cmake'.format(self.prefix)) | ||
|
||
def setup_dependent_environment(self, spack_env, run_env, dependent_spec): | ||
self.set_flags(spack_env) | ||
|
||
def setup_run_environment(self, env): | ||
self.set_flags(env) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.