Skip to content

Commit

Permalink
require pure go when building at cost of hashing performance
Browse files Browse the repository at this point in the history
  • Loading branch information
Geo25rey committed Dec 14, 2023
1 parent 1cc7d91 commit 0fa6184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-ipfs-and-plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ go get "github.com/ipfs/go-ipfs/cmd/ipfs@${IPFS_VERSION}"
# Build the IPFS plugin's shared library
echo "Building the IPFS plugin"
mkdir -p build
go build -buildmode=plugin -asmflags=all=-trimpath=\"${GOPATH}\" -gcflags=all=-trimpath=\"${GOPATH}\" -o build/plugin.so ./main/
go build -buildmode=plugin -asmflags=all=-trimpath=\"${GOPATH}\" -gcflags=all=-trimpath=\"${GOPATH}\" -tags purego -o build/plugin.so ./main/

# Mark the shared library as executable
echo "Marking the IPFS plugin as executable"
Expand Down

0 comments on commit 0fa6184

Please sign in to comment.