Skip to content

Commit ddeaede

Browse files
Update Buidling-ls1-Brads-Env.md
Signed-off-by: Brad Hutchings <[email protected]>
1 parent 444c4ad commit ddeaede

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/Buidling-ls1-Brads-Env.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,19 @@ export UNAME_M="cosmocc"
115115
printf "\n**********\n*\n* FINISHED: Prepare to make llama.cpp with Cosmo.\n*\n**********\n\n"
116116
```
117117

118+
---
119+
### Make openssl with Cosmo
120+
We need cross-architectire `libssl` and `libcrypto` static libraries to support SSL in `llama-server-one`.
121+
```
122+
cp -r /usr/include/openssl/ ./cosmocc/include/
123+
cp -r /usr/include/x86_64-linux-gnu/openssl/* ./cosmocc/include/openssl
124+
git clone https://github.com/openssl/openssl.git
125+
cd openssl
126+
./Configure no-asm no-dso no-afalgeng no-shared no-pinshared no-apps
127+
make
128+
cd ..
129+
```
130+
118131
---
119132
### Make llama.cpp with Cosmo
120133
```

0 commit comments

Comments
 (0)