Port 188.ammp bechmark
This doesn't currently work as fuchsia does not support redirection
operation for stdin
Change-Id: Iac1f9ab2e057c9a986132dd1dcc8b919f021a51e
diff --git a/188.ammp/BUILD.gn b/188.ammp/BUILD.gn
new file mode 100644
index 0000000..2115a09
--- /dev/null
+++ b/188.ammp/BUILD.gn
@@ -0,0 +1,51 @@
+# Copyright 2016 The Fuchsia Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+executable("188.ammp") {
+ sources = [
+ "src/ammp.c",
+ "src/analyze.c",
+ "src/angle.c",
+ "src/animate.c",
+ "src/anonbon.c",
+ "src/atoms.c",
+ "src/bonds.c",
+ "src/box.c",
+ "src/eval.c",
+ "src/gsdg.c",
+ "src/hybrid.c",
+ "src/math.c",
+ "src/mom.c",
+ "src/monitor.c",
+ "src/noel.c",
+ "src/optimist.c",
+ "src/random.c",
+ "src/rectmm.c",
+ "src/restrain.c",
+ "src/significance.c",
+ "src/tailor.c",
+ "src/tether.c",
+ "src/tgroup.c",
+ "src/torsion.c",
+ "src/tset.c",
+ "src/unonbon.c",
+ "src/variable.c",
+ "src/vnonbon.c",
+ ]
+ defines = [ "SPEC_CPU2000" ]
+ cflags_c = [
+ "-Wno-comment",
+ "-Wno-format",
+ "-Wno-implicit-function-declaration",
+ "-Wno-implicit-int",
+ "-Wno-parentheses-equality",
+ "-Wno-return-type",
+ "-Wno-self-assign",
+ "-Wno-unused-label",
+ "-Wno-unused-variable",
+ ]
+ data = [
+ "data/ref/input/ammp.in",
+ ]
+}
diff --git a/BUILD.gn b/BUILD.gn
index 5521c3a..e6fc22f 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -12,5 +12,6 @@
"181.mcf",
"183.equake",
"186.crafty",
+ "188.ammp",
]
}