209 Commits

Author SHA1 Message Date
Jeffrey Walton
e08898b215
Squash Android SDK warning
Also see https://stackoverflow.com/a/47028911/608639
2018-12-09 06:36:52 -05:00
Jeffrey Walton
b6acde8327
Add setenv-travis script 2018-12-09 06:04:53 -05:00
Jeffrey Walton
123b0725cf
Update Travis Android SDK and NDK gear 2018-12-09 04:52:06 -05:00
Jeffrey Walton
7a191ba42d
Update Travis Android SDK and NDK gear 2018-12-09 04:51:07 -05:00
Jeffrey Walton
435b7cabd3
Update Travis Android SDK and NDK gear 2018-12-09 04:19:00 -05:00
Jeffrey Walton
95964fd0b3
Backout setenv-ios.sh changes
The changes did not help
2018-12-08 11:31:30 -05:00
Jeffrey Walton
d1156ddfc6
Try -watchos_simulator_version_min and -tvos_simulator_version_min 2018-12-08 10:37:57 -05:00
Jeffrey Walton
d48192d190
Remove -no_new_main from Apple Watch and TV simulators
It did not help...
2018-12-08 10:24:58 -05:00
Jeffrey Walton
55b1535a18
Try to fix Watch and TV simulator link error
Something about a missing _start symbol. I'm not sure if -no_new_main is the solution or not. Also see https://stackoverflow.com/q/24841283/608639.
2018-12-08 09:03:38 -05:00
Jeffrey Walton
b8bf4540ff
Fix simulator SDK 2018-12-01 10:50:32 -05:00
Jeffrey Walton
a82e766925
Make CMake configurable in test script 2018-11-18 18:54:57 -05:00
Jeffrey Walton
b65ff5293a
Make CMake configurable in test script 2018-11-18 18:49:16 -05:00
Jeffrey Walton
959d81b236
Fix cryptest.sh are *-simd file rename 2018-11-11 10:03:31 -05:00
Jeffrey Walton
087f97edea
Remove patch file 2018-11-10 22:24:23 -05:00
Jeffrey Walton
ffe63caae5
Add CXX awareness to CMake test script 2018-10-29 04:58:32 -04:00
Jeffrey Walton
cab699d7c8
Bail early from test script if initial tests fail 2018-10-19 07:16:35 -04:00
Jeffrey Walton
fb303f5180
Fix unset MAKE variable in test scripts 2018-09-26 16:22:19 -04:00
Jeffrey Walton
1d5eaf5268
Fix test scripts on ancient Bash
This showed up on Solaris 9 with Bash 2.05. Also see https://unix.stackexchange.com/q/468579/56041
2018-09-12 13:06:28 -04:00
Jeffrey Walton
d0946abb0b
Use in cryptest-cmake.sh test 2018-09-10 09:00:25 -04:00
Jeffrey Walton
fc5a73186f
Make config.sub and config.guess +w before download 2018-09-09 14:28:52 -04:00
Jeffrey Walton
edbd57a41f
Make config.sub and config.guess +x after download 2018-09-09 12:00:54 -04:00
Jeffrey Walton
a77f529ec2
Update cryptest-autotools.sh
Update config.sub and config.guess per GNU recommendations
2018-08-28 15:19:28 -04:00
Jeffrey Walton
af17fdf91b
Add -Wno-deprecated for PPC tests due to vec_ld and vec_st 2018-08-22 10:12:24 -04:00
Jeffrey Walton
c3dd09b93e
Update messages in cryptest.sh 2018-08-20 22:53:39 -04:00
Jeffrey Walton
87493974c7
Add Power8 VMULL tests to cryptest.sh 2018-08-20 22:48:38 -04:00
Jeffrey Walton
ef58e71d77
Discard extra noise from Autotools test script 2018-08-18 08:28:32 -04:00
Jeffrey Walton
c4ef77bcdb
Attempt to use glibtool if available 2018-08-02 23:21:59 -04:00
Jeffrey Walton
85ea200ff0 Revert "Copy setenv-ios.sh into TestScripts"
The copy happened the wrong way.

This reverts commit a6143862a370adb154141a63fc1901b29b2132d4.
2018-08-02 00:28:35 -04:00
Jeffrey Walton
a6143862a3
Copy setenv-ios.sh into TestScripts
This is one of the scripts we have in two places due to historical reasons. The current practice is to put them in TestScripts/
2018-08-02 00:13:13 -04:00
Jeffrey Walton
3753a4301d
Disable ASM for iOS simulators 2018-08-01 23:10:01 -04:00
Jeffrey Walton
89ec3c4a25
Guard for missing libtoolize 2018-08-01 13:57:35 -04:00
Jeffrey Walton
57521bd22a
Add calls to 'make clean' to ensure building artifacts 2018-07-31 19:53:40 -04:00
Jeffrey Walton
27968af8a9
Update to support IBM XLC and LLVM backend 2018-07-31 18:21:44 -04:00
Jeffrey Walton
f36562218f
Add call to ls upon failure of script 2018-07-30 15:40:13 -04:00
Jeffrey Walton
12bb4866dd
Add check for setenv-*.sh scripts 2018-07-30 15:32:53 -04:00
Jeffrey Walton
138ce8f626
Cleanup Makefiles and Android and iOS scripts 2018-07-28 18:45:37 -04:00
Jeffrey Walton
a411ac350b
Cleanup cryptest-autotools.sh script 2018-07-28 10:58:51 -04:00
Jeffrey Walton
4066d70731
Cleanup cryptest-autotools.sh script 2018-07-28 10:57:53 -04:00
Jeffrey Walton
ef5a3d3905
Add autotools-clean and cmake-clean rules to GNUmakefile 2018-07-28 09:21:31 -04:00
Jeffrey Walton
884851cd9a
Update failure message 2018-07-27 19:17:25 -04:00
Jeffrey Walton
ed91b278bb
Run autoupdate and libtoolize if available 2018-07-27 16:51:32 -04:00
Jeffrey Walton
f201bc9493
Remove calls to format script 2018-07-27 16:10:43 -04:00
Jeffrey Walton
a3efa68da7
Add call to autoupdate if available 2018-07-27 16:09:27 -04:00
Jeffrey Walton
14dd03544e
Update cryptest-automake test script for Solaris 2018-07-16 10:53:11 -04:00
Jeffrey Walton
c2a9958d9c
Make m4/ directory during testing 2018-07-15 10:13:33 -04:00
Jeffrey Walton
437b2f9b7d
Set LC_ALL=C for Darwin Autotools testing 2018-07-15 09:35:26 -04:00
Jeffrey Walton
4e3a1ea962
Add ARMv8.4 cpu feature detection support (GH #685) (#687)
This PR adds ARMv8.4 cpu feature detection support. Previously we only needed ARMv8.1 and things were much easier. For example, ARMv8.1 `__ARM_FEATURE_CRYPTO` meant PMULL, AES, SHA-1 and SHA-256 were available. ARMv8.4 `__ARM_FEATURE_CRYPTO` means PMULL, AES, SHA-1, SHA-256, SHA-512, SHA-3, SM3 and SM4 are  available. 

We still use the same pattern as before. We make something available based on compiler version and/or preprocessor macros. But this time around we had to tighten things up a bit to ensure ARMv8.4 did not cross-pollinate down into ARMv8.1.

ARMv8.4 is largely untested at the moment. There is no hardware in the field and CI lacks QEMU with the relevant patches/support. We will probably have to revisit some of this stuff in the future.

Since this update applies to ARM gadgets we took the time to expand Android and iOS testing on Travis. Travis now tests more platforms, and includes Autotools and CMake builds, too.
2018-07-15 08:35:14 -04:00
Jeffrey Walton
9b4476ef7b
Update symbol script for Crypto++ 7.x 2018-07-11 16:16:32 -04:00
Jeffrey Walton
3b92255b8b
Add recipe to trim trailing whitespace 2018-07-01 21:45:01 -04:00
Jeffrey Walton
7bfeb4f3a2
Add recipe to call dos2unix if available 2018-07-01 21:38:47 -04:00