summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <michael@ikkoku.de>2019-03-20 04:47:45 +0100
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-03-20 04:47:45 +0100
commit09d57d8cee6af62a813ea3129969bc73cc9968b8 (patch)
tree9d613ae144548c775d09cd294fe50ac45a22d96d
parent9ad02685d9c01f8ec631e0fd14a4d425d68494c8 (diff)
downloadspack-09d57d8cee6af62a813ea3129969bc73cc9968b8.tar.gz
spack-09d57d8cee6af62a813ea3129969bc73cc9968b8.tar.bz2
spack-09d57d8cee6af62a813ea3129969bc73cc9968b8.tar.xz
spack-09d57d8cee6af62a813ea3129969bc73cc9968b8.zip
libeatmydata: new package (#10941)
-rw-r--r--var/spack/repos/builtin/packages/libeatmydata/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libeatmydata/package.py b/var/spack/repos/builtin/packages/libeatmydata/package.py
new file mode 100644
index 0000000000..b822cd00bb
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libeatmydata/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2019 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 import *
+
+
+class Libeatmydata(AutotoolsPackage):
+ """libeatmydata is a small LD_PRELOAD library designed to (transparently)
+ disable fsync (and friends, like open(O_SYNC)). This has two side-effects:
+ making software that writes data safely to disk a lot quicker and making
+ this software no longer crash safe."""
+
+ homepage = "https://www.flamingspork.com/projects/libeatmydata/"
+ url = "https://www.flamingspork.com/projects/libeatmydata/libeatmydata-105.tar.gz"
+
+ version('105', sha256='bdd2d068b6b27cf47cd22aa4c5da43b3d4a05944cfe0ad1b0d843d360ed3a8dd')
+
+ depends_on('strace', type='test')
+
+ def check(self):
+ # Tests must run in serial
+ make('check', parallel=False)