Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: add template for generated headers #42616

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 12 additions & 3 deletions deps/openssl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,12 @@ Here is a list of supported architectures for use of ASM in OpenSSL.

| --dest-os | --dest-cpu | OpenSSL target arch | CI |
| --------- | ---------- | -------------------- | --- |
| aix | ppc | aix-gcc | o |
| aix | ppc64 | aix64-gcc | o |
| linux | ia32 | linux-elf | o |
| linux | x32 | linux-x32 | - |
| linux | x64 | linux-x86_64 | o |
| linux | arm | linux-armv4 | o |
| linux | arm64 | linux-aarch64 | o |
| linux | ppc | linux-ppc | o |
| linux | ppc64 | linux-ppc64 | o |
| linux | ppc64(*1) | linux-ppc64le | o |
| linux | s390 | linux32-s390x | o |
| linux | s390x | linux64-s390x | o |
Expand All @@ -75,6 +72,18 @@ little)
These are listed in [config/Makefile](config/Makefile).
Please refer [config/opensslconf_asm.h](config/opensslconf_asm.h) for details.

To remove or add an architecture the templates need to be updated for which
there are two:
* include_asm.h.tmpl
* include_no-asm.h.tmpl

Remove the architecture in question from these files and then run:
```console
$ make generate-headers
```
Also remove the architecture from the list of supported ASM architectures in
[README.md](../README.md#supported-architectures-for-use-of-asm)

### Upgrading OpenSSL

Please refer to [maintaining-openssl](../../doc/contributing/maintaining-openssl.md).
6 changes: 3 additions & 3 deletions deps/openssl/config/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ endif
PERL = perl

# Supported architecture list
ASM_ARCHS = aix-gcc aix64-gcc-as BSD-x86 BSD-x86_64 \
ASM_ARCHS = aix64-gcc-as BSD-x86 BSD-x86_64 \
darwin64-x86_64-cc darwin-i386-cc darwin64-arm64-cc linux-aarch64 \
linux-armv4 linux-elf linux-x86_64 linux-ppc \
linux-ppc64 linux-ppc64le linux32-s390x linux64-s390x linux64-mips64\
linux-armv4 linux-elf linux-x86_64 \
linux-ppc64le linux32-s390x linux64-s390x linux64-mips64\
solaris-x86-gcc solaris64-x86_64-gcc VC-WIN64A VC-WIN32

NO_ASM_ARCHS = VC-WIN64-ARM linux64-riscv64
Expand Down
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