Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-sectorbuilder
Commits
ea4ff72c
"plat/git@web.lueluesay.top:root/arm-trusted-firmware.git" did not exist on "890abc33e46349fb01aed443ad7128b82ba34f3d"
Commit
ea4ff72c
authored
Aug 28, 2019
by
laser
Browse files
bug(install paramfetch from HEAD of master if not available in release tarball)
parent
a6545b01
Changes
1
Hide whitespace changes
Inline
Side-by-side
install-rust-fil-sector-builder
View file @
ea4ff72c
...
...
@@ -20,7 +20,7 @@ if download_release_tarball tarball_path "${subm_dir}"; then
mkdir
-p
bin
cp
"
${
tmp_dir
}
/bin/paramfetch"
bin
else
echo
"failed to find or obtain precompiled assets for
${
subm_dir
}
,
falling back to local build"
(>
&2
echo
"failed to find or obtain precompiled assets for
${
subm_dir
}
-
falling back to local build"
)
build_from_source
"
${
subm_dir
}
"
mkdir
-p
include
...
...
@@ -32,10 +32,19 @@ else
pushd
$subm_dir
# TODO https://github.com/filecoin-project/rust-fil-sector-builder/issues/39
FP_VERSION
=
$(
cat
"Cargo.lock"
|
grep
'name = "filecoin-proofs"'
-A1
|
tail
-n1
|
cut
-d
' '
-f3
|
tr
-d
'"'
)
cargo
install
--version
$FP_VERSION
filecoin-proofs
--root
'..'
--bin
paramfetch
s
=
"WARNING: paramfetch cannot be built from rust-fil-sector-builder "
s+
=
"sources. Installing from HEAD of rust-fil-proofs master. The installed "
s+
=
"version of paramfetch may be incompatible with your version of "
s+
=
"rust-fil-sector-builder, which could result in you downloading "
s+
=
"incompatible Groth parameters and verifying keys."
(>
&2
echo
s
)
cargo
install
filecoin-proofs
\
--bin
paramfetch
\
--force
\
--git
=
https://github.com/filecoin-project/rust-fil-proofs.git
\
--branch
=
master
\
--root
".."
popd
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment