Skip to content
Closed
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
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ deps: $(BUILD_DEPS)

## ldflags -s -w strips binary

curio: GOENVS ?= GOAMD64=v3
curio: $(BUILD_DEPS)
rm -f curio
GOAMD64=v3 CGO_LDFLAGS_ALLOW=$(CGO_LDFLAGS_ALLOW) $(GOCC) build $(GOFLAGS) -o curio -ldflags " -s -w \
$(GOENVS) CGO_LDFLAGS_ALLOW=$(CGO_LDFLAGS_ALLOW) $(GOCC) build $(GOFLAGS) -o curio -ldflags " -s -w \
-X github.com/filecoin-project/curio/build.IsOpencl=$(FFI_USE_OPENCL) \
-X github.com/filecoin-project/curio/build.CurrentCommit=+git_`git log -1 --format=%h_%cI`" \
./cmd/curio
Expand Down
5 changes: 5 additions & 0 deletions documentation/en/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,11 @@ git checkout <release version>
export CGO_CFLAGS="-D__BLST_PORTABLE__"
```

3. Also for old processors, if Curio cannot start because the processor generation is too old, add the variable:\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
3. Also for old processors, if Curio cannot start because the processor generation is too old, add the variable:\
3. Also for old processors, if Curio cannot start because the processor generation is too old, add the variable and rebuild the binaries:\


```shell
export GOENVS=GOAMD64=v1
```

3. By default, a ‘multicore-sdr’ option is used in the proofs library. This feature is also used in FFI unless explicitly disabled. To disable building with the ‘multicore-sdr’ dependency, set `FFI_USE_MULTICORE_SDR` to `0`:\

Expand Down