mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Updating hpfs binary for blake3 migration (#108)
This commit is contained in:
committed by
GitHub
parent
fefa860276
commit
eb70d9f308
@@ -91,7 +91,7 @@ target_precompile_headers(hpcore PUBLIC src/pchheader.hpp)
|
||||
add_custom_target(docker
|
||||
COMMAND mkdir -p ./test/local-cluster/bin
|
||||
COMMAND cp ./build/hpcore ./build/appbill ./test/local-cluster/bin/
|
||||
COMMAND cp ./test/bin/fusermount3 ./test/bin/libfuse3.so.3 ./test/bin/libb2.so.1 ./test/bin/websocketd ./test/bin/websocat ./test/bin/hpfs ./test/local-cluster/bin/
|
||||
COMMAND cp ./test/bin/fusermount3 ./test/bin/libfuse3.so.3 ./test/bin/libblake3.so ./test/bin/websocketd ./test/bin/websocat ./test/bin/hpfs ./test/local-cluster/bin/
|
||||
COMMAND docker build -t hpcore:latest ./test/local-cluster
|
||||
)
|
||||
set_target_properties(docker PROPERTIES EXCLUDE_FROM_ALL TRUE)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
A C++ version of hotpocket designed for production envrionments, original prototype here: https://github.com/codetsunami/hotpocket
|
||||
|
||||
[Hot Pocket Wiki](https://github.com/HotPocketDev/core/wiki)
|
||||
<!-- [Hot Pocket Wiki](https://github.com/HotPocketDev/core/wiki) -->
|
||||
|
||||
## Libraries
|
||||
* Crypto - Libsodium https://github.com/jedisct1/libsodium
|
||||
|
||||
BIN
test/bin/hpfs
BIN
test/bin/hpfs
Binary file not shown.
Binary file not shown.
BIN
test/bin/libblake3.so
Executable file
BIN
test/bin/libblake3.so
Executable file
Binary file not shown.
@@ -9,7 +9,7 @@ RUN apt-get install -y netcat-openbsd libgomp1
|
||||
# Install shared libraries.
|
||||
# Copy shared libraries and register it.
|
||||
COPY ./bin/libfuse3.so.3 /usr/local/lib/
|
||||
COPY ./bin/libb2.so.1 /usr/local/lib/
|
||||
COPY ./bin/libblake3.so /usr/local/lib/
|
||||
RUN ldconfig
|
||||
COPY ./bin/fusermount3 /usr/local/bin/
|
||||
|
||||
|
||||
@@ -159,7 +159,7 @@ if [ $mode = "new" ] || [ $mode = "update" ]; then
|
||||
cp $hpcore/build/hpcore hpfiles/bin/
|
||||
cp $hpcore/examples/nodejs_contract/{package.json,echo_contract.js,hp-contract-lib.js} hpfiles/nodejs_contract/
|
||||
if [ $mode = "new" ]; then
|
||||
cp ../bin/{libfuse3.so.3,libb2.so.1,fusermount3,websocketd,websocat,hpfs} hpfiles/bin/
|
||||
cp ../bin/{libfuse3.so.3,libblake3.so,fusermount3,websocketd,websocat,hpfs} hpfiles/bin/
|
||||
cp ./setup-hp.sh hpfiles/
|
||||
fi
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ if [ -x "$(command -v fusermount3)" ]; then
|
||||
else
|
||||
echo "Installing FUSE and other shared libraries..."
|
||||
sudo apt-get -y install libgomp1
|
||||
sudo cp ~/hpfiles/bin/{libfuse3.so.3,libb2.so.1} /usr/local/lib/
|
||||
sudo cp ~/hpfiles/bin/{libfuse3.so.3,libblake3.so} /usr/local/lib/
|
||||
sudo ldconfig
|
||||
sudo cp ~/hpfiles/bin/fusermount3 /usr/local/bin/
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user