Commit f415a8a
committed
feat(openssl): drop configure-project-installer, inline build
Switch fromsource:openssl from xim:configure-project-installer to its
own inline build, applying the cluster-A sandbox-fix template:
* paths derived from pkginfo.install_file()
* Configure + make + make install_sw chained in single sh -c (openssl
Configure does not support out-of-tree build, run from srcdir)
* fixed -j8
* sysroot include dir wrapped in _sys_usr_includedir() helper
* shell cp -r replaces os.dirs / os.files glob (silent no-ops in 0.4.9)
* declare upstream url + sha256
* deps: add explicit xim:gcc + xim:make + xim:xpkg-helper (previously
pulled in transitively via configure-project-installer)
Build flags:
linux-x86_64 enable-shared enable-legacy no-asm
`no-asm` works around an openssl 3.1.5 perlasm/binutils bug:
crypto/modes/aes-gcm-avx512.s emits `%SCALAR(...)` register names
that binutils 2.42 (the assembler in our subos) rejects. C fallback
is slower but stable; future binutils version bumps can drop the flag.
`make install_sw` skips docs install (saves several minutes).
Verified end-to-end in xlings 0.4.9 iso:
✓ Configure linux-x86_64 enable-shared enable-legacy no-asm
✓ make -j8 (~3 min on 8-core)
✓ make install_sw
✓ produced libssl.so.3 / libcrypto.so.3 + .so / .a
✓ openssl + c_rehash binaries staged
✓ headers (include/openssl/) shell-copied to subos sysroot
Cluster B leaf 5/8.1 parent 60fb732 commit f415a8a
1 file changed
Lines changed: 53 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
26 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
30 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
31 | 40 | | |
32 | 41 | | |
33 | 42 | | |
| |||
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
46 | | - | |
47 | 55 | | |
48 | | - | |
49 | | - | |
50 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
51 | 59 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
56 | 84 | | |
57 | 85 | | |
58 | 86 | | |
| |||
64 | 92 | | |
65 | 93 | | |
66 | 94 | | |
| 95 | + | |
67 | 96 | | |
68 | 97 | | |
69 | 98 | | |
| |||
88 | 117 | | |
89 | 118 | | |
90 | 119 | | |
| 120 | + | |
91 | 121 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
102 | 128 | | |
103 | 129 | | |
104 | 130 | | |
| |||
116 | 142 | | |
117 | 143 | | |
118 | 144 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
130 | 151 | | |
131 | 152 | | |
132 | 153 | | |
133 | | - | |
| 154 | + | |
0 commit comments