summaryrefslogtreecommitdiffstats
path: root/hl/test
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-04-28 21:49:38 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-04-28 21:49:38 (GMT)
commit390cbd406534320e198393c543dd7b18b3e0968a (patch)
tree6bcc736aef9cb38d29cbd68dc8b9da0bfdd15e1f /hl/test
parenta83ce222856f4db9af3f27b5600f38e18d0a1668 (diff)
downloadhdf5-390cbd406534320e198393c543dd7b18b3e0968a.zip
hdf5-390cbd406534320e198393c543dd7b18b3e0968a.tar.gz
hdf5-390cbd406534320e198393c543dd7b18b3e0968a.tar.bz2
[svn-r10692] Purpose:
Cray X1 port Description: Added configuration files (config/nv1-cray) and made some minor changes so that the 1.6 branch will build and pass tests on Cray X1 machines. Solution: hl/test/test_table will never compile if compiler optimizations are turned on. Optimization in test_table.c is thus disabled when __crayx1 is defined. Platforms tested: Cray X1s, eirene, sleipnir
Diffstat (limited to 'hl/test')
-rw-r--r--hl/test/test_table.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/hl/test/test_table.c b/hl/test/test_table.c
index 57b3791..9b0de4d 100644
--- a/hl/test/test_table.c
+++ b/hl/test/test_table.c
@@ -22,6 +22,12 @@
#define TEST_FILE_LE "test_table_le.hdf5"
#define TEST_FILE_CRAY "test_table_cray.hdf5"
+/* Compiler optimization on Cray X1s can cause this file not to compile.
+ * Turn it off.
+ */
+#ifdef __crayx1
+#pragma OPTIMIZE OFF
+#endif
/*-------------------------------------------------------------------------
* Table API test
@@ -1594,4 +1600,3 @@ static int compare_deleted(hsize_t rrecords, hsize_t dstart, hsize_t drecords,
return 0;
}
-