130-dont-build-tests-fuzz.patch 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. From ba2fe646f2d9104a18b066e43582154049e9ffcb Mon Sep 17 00:00:00 2001
  2. From: Eneas U de Queiroz <[email protected]>
  3. Date: Thu, 27 Sep 2018 08:34:38 -0300
  4. Subject: Do not build tests and fuzz directories
  5. This shortens build time.
  6. Signed-off-by: Eneas U de Queiroz <[email protected]>
  7. diff --git a/Configure b/Configure
  8. index 74d057c219..5813e9f8fe 100755
  9. --- a/Configure
  10. +++ b/Configure
  11. @@ -296,7 +296,7 @@ my $auto_threads=1; # enable threads automatically? true by default
  12. my $default_ranlib;
  13. # Top level directories to build
  14. -$config{dirs} = [ "crypto", "ssl", "engines", "apps", "test", "util", "tools", "fuzz" ];
  15. +$config{dirs} = [ "crypto", "ssl", "engines", "apps", "util", "tools" ];
  16. # crypto/ subdirectories to build
  17. $config{sdirs} = [
  18. "objects",
  19. @@ -308,7 +308,7 @@ $config{sdirs} = [
  20. "cms", "ts", "srp", "cmac", "ct", "async", "kdf", "store"
  21. ];
  22. # test/ subdirectories to build
  23. -$config{tdirs} = [ "ossl_shim" ];
  24. +$config{tdirs} = [];
  25. # Known TLS and DTLS protocols
  26. my @tls = qw(ssl3 tls1 tls1_1 tls1_2 tls1_3);