Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Fix script for mac #193

Merged
merged 1 commit into from
May 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
*.iml
/target
docs/diagrams/plantuml.jar
bin
bin
/lotus
8 changes: 7 additions & 1 deletion scripts/install_infra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ set -e
rm -rf ./lotus
git clone https://github.com/consensus-shipyard/lotus.git
cd ./lotus
docker build -t eudico .

uname=$(uname);
case "$uname" in
(*Darwin*) docker build -t eudico --build-arg FFI_BUILD_FROM_SOURCE=1 . ;;
(*) docker build -t eudico . ;;
esac;

cd ..
mkdir -p ./bin/ipc-infra
cp -rf ./lotus/scripts/ipc/* ./bin/ipc-infra
Expand Down