-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathinstall-mac.sh
More file actions
executable file
·36 lines (28 loc) · 801 Bytes
/
Copy pathinstall-mac.sh
File metadata and controls
executable file
·36 lines (28 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
cd core/lib/
mkdir cryptopp
cd cryptopp
wget https://github.com/weidai11/cryptopp/releases/download/CRYPTOPP_8_9_0/cryptopp890.zip
unzip cryptopp890.zip
make libcryptopp.a libcryptopp.so
cd ..
git clone https://github.com/Tencent/rapidjson.git
wget https://github.com/open-quantum-safe/liboqs/archive/refs/tags/0.15.0.zip
unzip 0.15.0.zip
mv liboqs-0.15.0 liboqs
mv 0.15.0.zip liboqs
cd liboqs
mkdir build && cd build
cmake -DBUILD_SHARED_LIBS=ON -GNinja ..
ninja
cd ../../
git clone https://github.com/open-quantum-safe/liboqs-cpp
sed -i '' $'41i\\\nstd::string LIBOQS_CPP_VERSION="0.15.0";' liboqs-cpp/include/common.hpp
git clone https://github.com/pistacheio/pistache.git
cd pistache
meson setup build
meson compile -C build
cd ../../
mkdir bin
make
otool -L core/bin/coherence