Commit Graph

108 Commits (f87696b7a5e89e5e98ac7a14cff2e0edeae23197)

Author SHA1 Message Date
Jeffrey Walton 8e06391ad3
Update setenv-ios.sh to export tools
This is needed for Autotools and cross-compiles. GNUmakefile-cross does not use it
2017-11-10 09:30:47 -05:00
Jeffrey Walton fdc262e884
Add tests for CRYPTOPP_NO_CXX11 to cryptest.sh (GH #529) 2017-11-06 09:10:37 -05:00
Jeffrey Walton 5d7175bf03
Fix permissions 2017-11-05 07:22:18 -05:00
Jeffrey Walton bbf10b1250
Remove cryptest-windows.pl
It was useless fodder
2017-11-01 09:44:45 -04:00
Jeffrey Walton dcabbd2112
Fix Elevated Warnings test
We were using HAVE_GCC and HAVE_CLANG instead of GCC_COMPILER and CLANG_COMPIELR
2017-10-30 08:33:16 -04:00
Jeffrey Walton 5be2c777f7
Disable ShellCheck SC2181 warning in cryptest.sh
Add tests for Support for Control-flow Enforcement Technology (CET). This is an upcoming processor feature. We want to be out in front of breaks to our inline assembly
2017-10-30 08:19:50 -04:00
Jeffrey Walton 1eb49a8db6
Fix CPU frequency of 0 in script 2017-10-27 13:20:22 -04:00
Jeffrey Walton 27aa70c240
Fix checkshell warnings 2017-10-26 12:03:20 -04:00
Jeffrey Walton 9df87dc7d4
Cleanup cryptest.sh a bit 2017-10-16 06:39:50 -04:00
Jeffrey Walton 55fe79e5ee
Add governor.sh to run benchmarks from a performance state on Linux
The script is based on code by Andy Polyakov, http://www.openssl.org/~appro/cryptogams.
2017-10-08 14:12:16 -04:00
Jeffrey Walton 6102333fc3
Add CRYPTOPP_NO_CPU_FEATURE_PROBES (GH #511)
We determine machine capabilities by performing an os/platform *query* first, like getauxv(). If the *query* fails, we move onto a cpu *probe*. The cpu *probe* tries to exeute an instruction and then catches a SIGILL on Linux or the exception EXCEPTION_ILLEGAL_INSTRUCTION on Windows. Some OSes fail to hangle a SIGILL gracefully, like Apple OSes. Apple machines corrupt memory and variables around the probe.
2017-09-19 21:08:37 -04:00
Jeffrey Walton 1661ff127a
Fix dead code strip test on AIX 2017-09-18 02:45:03 -04:00
Jeffrey Walton cc855dd181
Update cryptest-android.sh file with LLVM 2017-09-18 02:26:50 -04:00
Jeffrey Walton f3c04dbcb7
Remove CMake testing support (GH #506)
CMake can now be found at http://www.cryptopp.com/wiki/CMake. The Cmake project files are now maintianed by the community.
2017-09-16 21:23:35 -04:00
Jeffrey Walton e891347212
Clear TODO items for setenv-android.sh for 6.0 (GH #491) 2017-09-13 19:37:48 -04:00
Jeffrey Walton 40859a80da
Improve detection of ANDROID_NDK_ROOT
We were searching for R10 NDK's, but Android is at R15 in 2017
2017-09-13 17:00:52 -04:00
Jeffrey Walton 6e1a07025c
Build Android cpu-features from sources (GH #491)
Thanks to Deadpikle for suggesting the strategy
2017-09-13 07:16:41 -04:00
Jeffrey Walton fcee76594c
Make armv7a-neon the default in 2017 with NDK R15 2017-09-13 05:22:19 -04:00
Jeffrey Walton 2375e87a5c
Fix unterminated close paren 2017-09-13 04:09:44 -04:00
Jeffrey Walton 66c84a9af4
Fix failed feature detections under IBM XL C/C++ compiler 2017-09-09 18:44:08 -04:00
Jeffrey Walton e6f19111e0
Fix IBM XL C/C++ compiler version output in test script 2017-09-09 16:26:16 -04:00
Jeffrey Walton 2118ce8fea
Add Power8 support to cryptest.sh 2017-09-09 14:56:47 -04:00
Jeffrey Walton a57cd5e193
Update test script 2017-09-02 06:18:08 -04:00
Jeffrey Walton 5b12be29e6
Update test script 2017-09-01 20:38:57 -04:00
Jeffrey Walton 6c35eaf737
Update test script for AIX 2017-08-31 08:05:48 -04:00
Jeffrey Walton 5cd854b2d3
Update comments 2017-08-30 21:47:05 -04:00
Jeffrey Walton de8478af2a
Add ARMv7-a NEON tests (GH #481)
The tests were already present; they just needed some tuning
2017-08-30 19:31:11 -04:00
Jeffrey Walton 1aecb3d4ad
Use optimization level -O3 for release testing (GH #454)
This change should have been made with Commit 18a05659f3
2017-08-30 08:32:20 -04:00
Jeffrey Walton 796a5c1a02
Remove PLATFORM_CXXFLAGS tests (GH #481)
cryptest.sh still needs some tweaking from the recent changes
2017-08-30 07:58:34 -04:00
Jeffrey Walton c06995a71b
Consistent use of grep and sed (GH #476)
MinGW is really messing things up for us.
2017-08-29 08:57:04 -04:00
Jeffrey Walton a403c32cf2
Remove DISABLE_NATIVE_ARCH from test script (GH #380) 2017-08-25 19:59:34 -04:00
Jeffrey Walton a6ddb5ec40
Remove Platform CXXFLAGS test
Add CMake build tests
Add Sun Studio 12.6 tests
2017-08-25 13:58:34 -04:00
Jeffrey Walton 0b31a12534
Fix missing backslash 2017-08-18 04:53:22 -04:00
Jeffrey Walton e2c377effd Split source files to support Base Implementation + SIMD implementation (GH #461)
Split source files to support Base Implementation + SIMD implementation
2017-08-17 12:33:43 -04:00
Jeffrey Walton e19fad007f
Fix library version number in script 2017-08-16 05:36:11 -04:00
Jeffrey Walton 93f085c44c
Fix test script when running on machine with RO mount of / 2017-08-14 19:31:36 -04:00
Jeffrey Walton f8e77e0fe6
Add Apple Watch and TV to Travis testing 2017-08-14 07:54:10 -04:00
Jeffrey Walton effa446a61
Fix test script when running on machine with RO mount of / 2017-08-14 01:48:11 -04:00
Jeffrey Walton 9a3f45cee6
Update VCXPROJ files for AppVeyor testing 2017-08-04 00:10:11 -04:00
Jeffrey Walton 64c098fbae Revert "Reinstate commit ac513c06f8c80"
This broke MSbuild, which can no longer build a static library. Attempting to build with 'msbuild /t:Build cryptlib.vcxproj' results in:

  ...
  X64\cryptlib\Debug\zinflate.obj
  X64\cryptlib\Debug\zlib.obj
  LINK : fatal error LNK1561: entry point must be defined [c:\Users\cryptopp\cryptlib.vcxproj]
  Done Building Project "c:\Users\Jeff\Desktop\cryptopp\cryptlib.vcxproj" (Build target(s)) -- FAILED.

Microsoft tools are so fucked up. It should be illegal to sell them.
2017-08-03 05:22:03 -04:00
Jeffrey Walton 1702c93b30
Reinstate commit ac513c06f8
Even though it breaks AppVeyor worse, its needed that way. Also see https://stackoverflow.com/a/45458443/608639.
2017-08-03 04:34:56 -04:00
Jeffrey Walton a8084ae440
Add script to change library version numbers 2017-08-03 02:00:09 -04:00
Jeffrey Walton fe9eb75dd2
Suppress warnings C4231, C4355 and C4505 (Issue 412)
This should not cross-pollinate like when they were present in config.h
2017-08-02 23:25:54 -04:00
Jeffrey Walton 77d2e4eaf5
Add AppVeyor rule to makefile
This should sidestep some problems we are experiencing with AppVeyor during x64 builds. Specifically, the missing VCUpgrade.exe and the poor job it does when upgrading our project for the platform\'s tools.
This recipe takes cryptlib.vcxproj and cryptest.vcxproj, and copies it into TestScripts. This ensures TestScripts always has the latest Visual Studio project files. Then, the recipe changes PlatformToolset to the undocumented $\(DefaultPlatformToolset\). Finally, our AppVeyor test script will copy TestScripts/*.vcxproj into PWD before executing MSbuild.
Also see http://stackoverflow.com/questions/43423761/cant-perform-64-bit-testing-under-appveyor, http://stackoverflow.com/questions/45452145/how-to-set-platformtoolset-property-from-msbuild and  http://stackoverflow.com/questions/43441273/how-to-run-vcupgrade-before-appveyor-build
2017-08-02 22:01:16 -04:00
Jeffrey Walton 50d1ea8314
Cleared fall through warnings under GCC 7 (Issue 441) 2017-07-17 04:48:28 -04:00
Jeffrey Walton 81c751314b
Add reset-fork script to testing 2017-05-28 16:11:28 -04:00
Jeffrey Walton 84e6961457
Updated makefile trim and convert rules
Whitespace check-in
2017-05-26 10:08:44 -04:00
Jeffrey Walton 3bb801101f
Updated test script 2017-05-26 09:29:05 -04:00
Jeffrey Walton 554ce2c577
Updated test script 2017-05-26 05:28:51 -04:00
Jeffrey Walton 6055aac84f
Updated test script 2017-05-26 04:36:38 -04:00