Skip to content

Commit

Permalink
deps: add template for generated headers
Browse files Browse the repository at this point in the history
OpenSSL 3.0 has a number of header files that are generated, and
currently these headers are copied into the architecture specific
directories. This is done for each asm type, 'asm', 'asm_avx2', and
'no-asm' which has takes up quite a lot of disk space and also becomes
an issue with the headers.tar file which has increased due to this.

This commit adds copies the headers to a common directory for the
architecture, for example with linux-x86_64 there will be a directory
named deps/openssl/config/archs/linux-x86_64/common/include where the
headers will be copied (into subdirectories 'openssl' and 'crypto'.
And in the original locations a header file with the same name will be
generated which points (includes) the common header file.

PR-URL: #42616
Fixes: #42081
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
  • Loading branch information
danbev authored and targos committed May 2, 2022
1 parent 336242a commit 7fae2c9
Show file tree
Hide file tree
Showing 197 changed files with 99 additions and 16,084 deletions.
1 change: 1 addition & 0 deletions deps/openssl/config/arch_include.h.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "%%- $path -%%"

This file was deleted.

This file was deleted.

197 changes: 0 additions & 197 deletions deps/openssl/config/archs/BSD-x86/asm/include/openssl/opensslconf.h

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7fae2c9

Please sign in to comment.