Commit Graph

299 Commits (c06995a71b8e90bb10c2f00d137f74b9108cfcc1)

Author SHA1 Message Date
Jeffrey Walton f19e97ad5c Removed unneeded WANTED_CONFIG 2016-09-18 20:44:24 -04:00
Jeffrey Walton f57c4dced5 Moved config.h → config.compat; moved config.recommend → config.h
Also see http://groups.google.com/forum/#\!topic/cryptopp-users/bWcRw1XgJ_Q
2016-09-18 12:36:50 -04:00
Jeffrey Walton bad74bb3ab Add test for mismatched capabiliities between libcryptopp.a and cryptest.exe (Issue 283) 2016-09-18 09:28:47 -04:00
Jeffrey Walton 0d434fb419 Updated failure message 2016-09-18 03:03:07 -04:00
Jeffrey Walton 85241c94a8 Updated IS_X86 detection code 2016-09-18 02:46:36 -04:00
Jeffrey Walton f041382c55 Add tests with -march=i686 and -march=x86-64
-march=native effectively tests a maximum, while the two new tests verify the minimum
2016-09-18 01:00:23 -04:00
Jeffrey Walton d6d2307b78 Fix test for assert, std::min and std::max
OS X's grep is not matching them, but egrep matches them
2016-09-18 00:39:56 -04:00
Jeffrey Walton 587a9956fc Added test for use of std::min and std::max
This is due to Windows.h and NOMINMAX. Linux test fine, while Windows breaks. We need to use either the library's 'STDMIN(a,b)' or '(std::min)(a, b);'
2016-09-17 22:08:12 -04:00
Jeffrey Walton c207012123 Add cryptest.sh tests for includio of <assert.h> and <cassert>; and use of NDEBUG or assert\(...\) 2016-09-17 14:38:52 -04:00
Jeffrey Walton 5b50423439 Fix SunCC 5.13 and "illegal use of -xarch option, illegal value ignored: avx2_i" 2016-09-13 15:11:52 -04:00
Jeffrey Walton ed9fdfc0ab Whitespace and comments for SunCC work-arounds 2016-09-13 01:16:04 -04:00
Jeffrey Walton 6e6f5e4228 Fix -xarch=ssse4_2 typo 2016-09-13 00:52:15 -04:00
Jeffrey Walton 3c9096a85d Updated comments in cryptest.sh 2016-09-12 16:06:21 -04:00
Jeffrey Walton 3585190924 Fix SunCC 5.11 and 5.12 CXXFLAGS and -xarch options.
We were still catcing the "requires -xarch=sse4_2" message
2016-09-12 07:34:59 -04:00
Jeffrey Walton 28c3d685e3 Attempt to fix SunCC 5.11 and 5.12 flags and xarch options in a generic way 2016-09-12 05:08:29 -04:00
Jeffrey Walton bb2f54a668 Fix line 859: /1024/1024: syntax error: operand expected (error token is "/1024/1024") 2016-09-12 04:17:39 -04:00
Jeffrey Walton 199c00f30a Modify cryptest.sh to better align with SunCC 12.1 though 12.3, CPU feature flags, and compiler options 2016-09-11 08:59:28 -04:00
Jeffrey Walton b8adfde288 Removed 'make zip' test.
The recipe cleans our result file, which is not very useful if the Terminal window cannot be searched
2016-09-10 03:06:59 -04:00
Jeffrey Walton fd0c63b914 SUNCC_121_OR_ABOVE → SUNCC_510_OR_ABOVE 2016-09-09 18:12:06 -04:00
Jeffrey Walton 42715f4e83 Fix CPU feature flag detection under FreeBSD 2016-09-09 17:55:46 -04:00
Jeffrey Walton a571f1e214 Fix MAKE variable for FreeBSD 2016-09-09 17:38:16 -04:00
Jeffrey Walton 001f6fcc59 Discard output from 'make zip' 2016-09-09 14:36:55 -04:00
Jeffrey Walton a7f9356d8b Fix unzip test 2016-09-09 14:33:56 -04:00
Jeffrey Walton 39e0bb3d6a Add 'make zip' test to script 2016-09-09 14:15:19 -04:00
Jeffrey Walton 7f958575ea Squashed commit of the following:
commit 47c75c6e9397e240919207e50e5a611d3e2a2428
Merge: d7685c2 42085ee
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 20:20:39 2016 -0400

    Attempting to fix binary file merge conflict

commit d7685c2d946beecc419ddb6901c24e972c7cf3ee
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 16:39:23 2016 -0400

    Add vsClean.cmd to vs2010.zip

commit 4b96fdf1c551260da60eb021f324bcc3fcfec626
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 16:15:38 2016 -0400

    Add Keccak to vs2010.zip

commit 3962db73b7113ee805b46a5bb4da64e204fe6bb0
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 15:40:35 2016 -0400

    Fold hmqv.cpp and fhmqv.cpp into mqv.cpp. There's no need for three empty source files

commit 44401448cbb6c8125b0f1ab4419c5b174408ffd7
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 15:39:23 2016 -0400

    Fold hmqv.cpp and fhmqv.cpp into mqv.cpp. There's no need for three empty source files

commit 847bfccb8d5c388e67745dc8c69768fa503c5135
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 14:48:02 2016 -0400

    Whitespace cleanup

commit 46a37be6fef361704dcf852bc9a099ce0a1da4c8
Merge: aefb8f8 3697867
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 14:43:01 2016 -0400

    Merge 'master' into 'keccak'

commit aefb8f8ff2b81b967089c53b457a92fc6f7544d6
Merge: 51a828b 3c91d93
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 12:39:51 2016 -0400

    Merge 'master' into 'keccak'

commit 51a828b88e37a4d18abb00300cd5522bd0e110c5
Merge: 4152870 e7c7722
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 10:41:36 2016 -0400

    Merge 'master' into 'keccak'

commit 415287041e69ddadf5ca1f6fc794b87e145fc2db
Merge: 357a0c5 83ac849
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 10:34:45 2016 -0400

    Merge 'master' into 'keccak'

commit 357a0c510f75e4e58078b500dd469462e90f7650
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 10:13:32 2016 -0400

    Removed deprecated warning from SHA3 classes

commit 5cf9ec10d53b895b5a583e265e4e1298ed402195
Merge: 10ce0ed c2d60cc
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 09:43:15 2016 -0400

    Merge 'master' into 'keccak'

commit 10ce0ed4c5b8a1ea230062fd2dfdec0d87ec5b42
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 09:37:40 2016 -0400

    Add Keccak implementation based on early SHA3. Change SHA3 to NIST FIPS 202 conforming implementation
2016-09-08 20:24:25 -04:00
Jeffrey Walton e7c7722948 Add test for Debug OpenMP 2016-09-08 10:41:18 -04:00
Jeffrey Walton 66dc925f94 Add otion to test using config.h or config.recommend 2016-09-08 07:38:20 -04:00
Jeffrey Walton f0a4f74a23 Fix ld-gold detection under Debian 7 2016-09-07 12:40:53 -04:00
Jeffrey Walton f4c33f6969 Add tests for Bounds Checking sanitizer 2016-09-07 02:40:50 -04:00
Jeffrey Walton 47af829cdc Add MacPorts GCC 7.x test. Add MacPorts Clang 3.7, 3.8 and 3.9 test 2016-09-06 13:44:58 -04:00
Jeffrey Walton 023615ef61 Fixed test for empty MACPORTS_CXX 2016-09-06 08:04:17 -04:00
Jeffrey Walton 65f8c7478f Add IS_DARWIN check for MacPorts compilers 2016-09-06 07:44:39 -04:00
Jeffrey Walton 29e190343c Add additional MacPorts compiler tests under OS X 2016-09-06 07:43:14 -04:00
Jeffrey Walton 60911fe235 Add X86 ADX feature flag detection for adcx/adox 2016-09-04 16:25:11 -04:00
Jeffrey Walton 741d205592 Removed Clang version information from message since its not affected by the version 2016-09-04 13:22:37 -04:00
Jeffrey Walton cc1fe049cd Added test for "rotate immediate" code generation using SHA 2016-09-04 12:22:48 -04:00
Jeffrey Walton 77f57c758f Add additional ARM NEON mnemonics for disassembly check 2016-08-28 19:42:52 -04:00
Jeffrey Walton 15ec4ef713 Removed Solaris comments as things work as expected. Cleaned the object file of interest before compiling 2016-08-26 07:41:43 -04:00
Jeffrey Walton 81f868e6ff Add newline to echo for error and warning reports 2016-08-25 19:40:28 -04:00
Jeffrey Walton dbf65e82bf Fold CPU features and flags into single variables: X86_CPU_FLAGS and ARM_CPU_FLAGS. Consult the variables throughout the script 2016-08-25 19:26:48 -04:00
Jeffrey Walton 65e91a8caa Fix compile and code generation tests under Clang 3.4, 3.5 and 3.6 2016-08-25 01:25:33 -04:00
Jeffrey Walton eab45a1d66 Add disassembly tests for ARM NEON vector add and xor 2016-08-24 23:02:30 -04:00
Jeffrey Walton 4396f58f66 Account for Clang and use of ldp (load register pairs) 2016-08-24 22:09:15 -04:00
Jeffrey Walton ef6be6718b Add disassembly tests for ARM NEON 2016-08-24 21:15:55 -04:00
Jeffrey Walton 57a0059eb7 Improve CPU feature detection for X86 and ARM. Add tests for X86 Carryless Multiply; and X86 and ARM CRC32 2016-08-24 12:36:03 -04:00
Jeffrey Walton b1d7754ff7 Add disassembly tests for RDRAND and RDSEED 2016-08-24 08:10:37 -04:00
Jeffrey Walton 7c3967ad8f Add disassembly tests to verify some aspects of code generation. Fix SUNCC_CXXFLAGS flags. Fix "Quick Tests" undr Clang (Issues 245 and 246) 2016-08-24 06:19:42 -04:00
Jeffrey Walton 06a23f56fe Fix SunCC 12.2 test under Release builds 2016-08-22 17:02:24 -04:00
Jeffrey Walton 83b8d51487 Simplified logic to determine ARM platform flags 2016-08-22 08:17:31 -04:00
Jeffrey Walton a4be62a41f Fix -Os option. Add install results to test results 2016-08-22 06:27:35 -04:00
Jeffrey Walton 81e346ff35 Remove ubsan target from OpenMP test 2016-08-22 03:16:12 -04:00
Jeffrey Walton 4892ae25a7 Add debug and release test 2016-08-22 03:11:52 -04:00
Jeffrey Walton 65984d31e6 Remove duplicate dead code stripping 2016-08-22 03:03:59 -04:00
Jeffrey Walton 5fc7a8d201 Add OpenMP test 2016-08-22 02:50:08 -04:00
Jeffrey Walton 6997628f6d Add guards for HAVE_O3, HAVE_O5, HAVE_OS and HAVE_OFAST 2016-08-02 09:29:38 -04:00
Jeffrey Walton 49bf0112d8 Fix spelling error 2016-07-31 04:31:57 -04:00
Jeffrey Walton 3ffb1f3565 Fix failed self tests under -Ofast and -O5. It appears to be a SunCC compiler bug 2016-07-31 04:18:01 -04:00
Jeffrey Walton 8dffadf2e3 Fix USER_CXXFLAGS reporting 2016-07-30 11:37:10 -04:00
Jeffrey Walton b4726950c2 Add options for SunCC as arrary elements 2016-07-30 07:20:08 -04:00
Jeffrey Walton e6ad2579ca Remove extraneous whitespace from options 2016-07-30 06:32:44 -04:00
Jeffrey Walton 22ed5382ed Removed RETAINED_CXXFLAGS. Add USER_CXXFLAGS. Add HAVE_AARCH32 and Aarch32 tests 2016-07-29 01:47:44 -04:00
Jeffrey Walton bca0fa6a9e Add test for unified asm syntax
This is a premeptive strike to ensure no surprises when divided syntax is deprecated
2016-07-28 05:12:17 -04:00
Jeffrey Walton c7b329db90 Add fpv5 fpu option 2016-07-22 23:17:46 -04:00
Jeffrey Walton 2d55eeb2be Fix HAVE_ARM_VFPV3 typo. Fix PLATFORM_CXXFLAGS for first debug and release build 2016-07-22 05:42:14 -04:00
Jeffrey Walton 0c801ce822 Fix broken compile with GCC 4.9 and 4.9 in Debug configuration with -std=c++11 2016-07-22 03:25:25 -04:00
Jeffrey Walton e8d3ddffd8 Removed HAVE_ARM_ASIMD. Add HAVE_ARMV8. Enable at least '-march=armv8-a' for all Aarch64 platforms 2016-07-22 02:52:06 -04:00
Jeffrey Walton c1b57a9a7f Add logic for ARM vfpd32 CPU flag 2016-07-22 00:46:14 -04:00
Jeffrey Walton 29bd2bc95c Add additional FILTERED_CXXFLAGS 2016-07-21 18:00:49 -04:00
Jeffrey Walton 6ed2a60a53 Add -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS for -O5 and -Ofast 2016-07-21 02:57:50 -04:00
Jeffrey Walton c606ea2573 Remove 32-bit ARMv8 FPU flags from Aarch64 2016-07-20 20:08:00 -04:00
Jeffrey Walton e0ca095144 Fix "unrecognized command line option ‘-mfpu=neon-fp-armv8" under GCC 4.8 2016-07-20 11:15:03 -04:00
Jeffrey Walton 9f9b050c7f Remove soft-float from ARMv8 2016-07-20 10:31:00 -04:00
Jeffrey Walton 5bc1f5bfd1 Add -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS for -Ofast testing since it auto-vectorizes under GCC 2016-07-20 09:54:03 -04:00
Jeffrey Walton e7e61e8f9e Add ARM floating point ABI detection 2016-07-20 09:49:06 -04:00
Jeffrey Walton 9cdeb3ce8e Added VFPU options for ARM. Remove AES intrinsics from SunCC 12.3 due to failures in CTR, CCM and GCM modes. Other modes are OK 2016-07-20 05:30:39 -04:00
Jeffrey Walton 3c96be47d2 Removed ARM CRC and Crypto specific tests
The tests are now fully exercised by using PLATFORM_CXXFLAGS
2016-07-16 19:00:30 -04:00
Jeffrey Walton fa758dbbd7 Fix SunCC 12.2 failed compile due to -D__AES__ and above platform flags (Issue 228) 2016-07-15 17:25:43 -04:00
Jeffrey Walton b1f5eb450c Add option to reduce CPU load for GCC Compile Farm policy requirements 2016-07-15 12:27:22 -04:00
Jeffrey Walton 700b46546a Tee PLATFORM_CXXFLAGS to log file. Remove unneeded temp file removals. -march=armv7a → -march=armv7-a 2016-07-15 04:41:25 -04:00
Jeffrey Walton 2c3b512b9e Rework Aarch32 (ARM32) and Aarch64 (ARM64) feature detection. Disable ASAN under ARM and GCC 4.8 2016-07-15 03:52:50 -04:00
Jeffrey Walton b099030c46 Fix broken rijndael.cpp compile under Sun Studio (Issue 224) 2016-07-15 00:40:13 -04:00
Jeffrey Walton 585b63c450 Disable -Ofast tests for SunCC 2016-07-14 13:47:20 -04:00
Jeffrey Walton 69b141efa8 Add Exception to error counts 2016-07-14 13:10:13 -04:00
Jeffrey Walton 77b36f5a0a Add AVX and AVX2 for Sun Studio 2016-07-13 02:13:18 -04:00
Jeffrey Walton 5080a065ce Clear Valgrind findings under -Ofast 2016-07-12 23:05:00 -04:00
Jeffrey Walton 8e5f25c004 Add test for -Ofast 2016-07-12 18:46:48 -04:00
Jeffrey Walton ae57571881 Add tests Debug and Release test using PLATFORM_CXXFLAGS. Fix copy/paste omitting MAKE and MAKEARGS 2016-07-12 17:20:31 -04:00
Jeffrey Walton f9ead481e4 Add PLATFORM_CXXFLAGS for Aolaris and ARM testing. Add DEPRECATED_CXXFLAGS to managed deprecated warnings. Rework the way Make is invoked with CXX and CXXFLAGS 2016-07-12 14:10:25 -04:00
Jeffrey Walton b9232e01b2 Add tests for SunCC and GCC defines (__SSE2__, __SSE3__, __AES__, __PCLMUL__, __RDRND__, etc) 2016-07-11 19:41:55 -04:00
Jeffrey Walton 5361185ef1 Fixed spelling errors in setenv-* scripts 2016-07-11 15:24:43 -04:00
Jeffrey Walton e699946202 Update comment 2016-07-10 15:01:37 -04:00
Jeffrey Walton e2d53c4f1d Disable -O5 tests for Sun Studio. The optimizer is producing bad code for BLAKE2b 2016-07-10 01:56:40 -04:00
Jeffrey Walton 997a813afc Cleanup script. Reduce uname calls. Enable SunCC 12.5 by default, if available. Remove adhoc.exe artifact on each test. Add explicit tests for OPT_O0, OPT_O1, OPT_O2, OPT_G0, OPT_G1 and OPT_G2. Remove SUNCC_123_OR_ABOVE. Print DEBUG_CXXFLAGS, RELEASE_CXXFLAGS and VALGRIND_CXXFLAGS 2016-07-09 18:09:36 -04:00
Jeffrey Walton dfc82a787d Tighten ARM feature testing to avoid compiler cross-pollination 2016-07-09 06:56:28 -04:00
Jeffrey Walton 6c78aaa7e3 Cleared "assertion failed in function pr_post_process_node() @ preopt.c" under Sun Studio 12.5 (Issue 220) 2016-07-09 06:24:11 -04:00
Jeffrey Walton 54fc79ec6a Fix Solaris 10 script and compiler issues 2016-07-09 04:50:58 -04:00
Jeffrey Walton e39226e511 Cleanup script 2016-07-09 03:34:29 -04:00
Jeffrey Walton f617b9bfdc Removed second tee, which caused duplicat emessages 2016-07-09 02:48:40 -04:00
Jeffrey Walton 875d8327f5 Fix missing '-a' option for egrep on Solaris 2016-07-08 18:11:06 -04:00
Jeffrey Walton e78bb2073f Add Studio 12.5 compile/link test 2016-07-08 18:08:55 -04:00