summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-05-17 14:33:16 +0200
committerRichard Levitte <levitte@openssl.org>2021-05-19 10:13:02 +0200
commit2660b7cfbad710dcd9df26e68c18d6c7d6ebaca0 (patch)
tree5a0774dc29e27e0592ff255735918402c78f9443 /.gitignore
parentda51dc5f68c9e7924be3d5071ba8aea439a4d1c9 (diff)
Rework how a build file (Makefile, ...) is produced
The memory footprint of how we produced the Makefile was quite... important, because we have all the processing in one perl snippet, and generate the details of the build file by appending to the "magic" variable $OUT. The result is that this variable gets to hold the majority of the build file text, and depending on memory reallocation strategies for strings, the heap may hold multiple (possibly not just a few) copies of this string, almost all of them "freed" but still taking up space. This has resulted in memory exhaustion. We therefore change strategy, and generate the build file in two phases, where the first phase generates the full template using small perl snippets for each detail, and the second phase processes this template. This is much kinder to process memory. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15310)
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index b88ede1d59..038ccb9773 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
/.dir-locals.el
# Top level excludes
+/Makefile.in
/Makefile
/MINFO
/TABLE