Skip to content

Commit 7fae2c9

Browse files
danbevtargos
authored andcommitted
deps: add template for generated headers
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>
1 parent 336242a commit 7fae2c9

File tree

197 files changed

+99
-16084
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

197 files changed

+99
-16084
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "%%- $path -%%"

β€Ždeps/openssl/config/archs/BSD-x86/asm/crypto/include/internal/bn_conf.h

-28
This file was deleted.

β€Ždeps/openssl/config/archs/BSD-x86/asm/crypto/include/internal/dso_conf.h

-17
This file was deleted.

β€Ždeps/openssl/config/archs/BSD-x86/asm/include/openssl/opensslconf.h

-197
This file was deleted.

β€Ždeps/openssl/config/archs/BSD-x86/asm_avx2/crypto/include/internal/bn_conf.h

-28
This file was deleted.

β€Ždeps/openssl/config/archs/BSD-x86/asm_avx2/crypto/include/internal/dso_conf.h

-17
This file was deleted.

0 commit comments

Comments
Β (0)