Skip to content

Commit 50a3a9c

Browse files
committed
find my stuff
1 parent 34f80d1 commit 50a3a9c

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
docker:
6262
- image: filecoin/rust:latest
6363
working_directory: /mnt/crate
64-
resource_class: xlarge
64+
resource_class: 2xlarge
6565
steps:
6666
- configure_environment_variables
6767
- checkout
@@ -83,7 +83,7 @@ jobs:
8383
docker:
8484
- image: filecoin/rust:latest
8585
working_directory: /mnt/crate
86-
resource_class: xlarge
86+
resource_class: 2xlarge
8787
steps:
8888
- configure_environment_variables
8989
- checkout

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
*.h
66
*.a
77
.install-filecoin
8+
**/paramcache

install-filecoin

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ if [ "${FFI_BUILD_FROM_SOURCE}" != "1" ] && download_release_tarball tarball_pat
1111
tmp_dir=$(mktemp -d)
1212
tar -C "$tmp_dir" -xzf "$tarball_path"
1313

14-
cp "${tmp_dir}/include/filecoin.h" .
15-
cp "${tmp_dir}/lib/libfilecoin.a" .
16-
cp "${tmp_dir}/lib/pkgconfig/filecoin.pc" .
17-
cp "${tmp_dir}/bin/paramcache" .
14+
find -L "${tmp_dir}" -type f -name filecoin.h -exec cp -- "{}" . \;
15+
find -L "${tmp_dir}" -type f -name libfilecoin.a -exec cp -- "{}" . \;
16+
find -L "${tmp_dir}" -type f -name filecoin.pc -exec cp -- "{}" . \;
17+
find -L "${tmp_dir}" -type f -name paramcache -exec cp -- "{}" . \;
1818

1919
(>&2 echo "successfully installed prebuilt libfilecoin")
2020
else

rust/scripts/package-release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ TAR_PATH=`mktemp -d`
1212

1313
mkdir -p $TAR_PATH
1414

15-
find . -L -type f -name filecoin.h -exec cp -- "{}" $TAR_PATH/ \;
16-
find . -L -type f -name libfilecoin.a -exec cp -- "{}" $TAR_PATH/ \;
17-
find . -L -type f -name filecoin.pc -exec cp -- "{}" $TAR_PATH/ \;
15+
find -L . -type f -name filecoin.h -exec cp -- "{}" $TAR_PATH/ \;
16+
find -L . -type f -name libfilecoin.a -exec cp -- "{}" $TAR_PATH/ \;
17+
find -L . -type f -name filecoin.pc -exec cp -- "{}" $TAR_PATH/ \;
1818

1919
pushd $TAR_PATH
2020

0 commit comments

Comments
 (0)