Skip to content

Commit

Permalink
simplified vcpkg deps lists
Browse files Browse the repository at this point in the history
Signed-off-by: Mikhail Boldyrev <miboldyrev@gmail.com>
  • Loading branch information
MBoldyrev authored and lebdron committed Nov 2, 2019
1 parent c788df9 commit 2d6c29c
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 45 deletions.
6 changes: 2 additions & 4 deletions .packer/win/scripts/vcpkg.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ echo "Run bootstrap-vcpkg.bat"
Invoke-Expression "$vcpkg_path\bootstrap-vcpkg.bat"

echo "Installing vcpkg packages"
Invoke-Expression "$vcpkg_path\vcpkg.exe install (Get-Content -Path $iroha_vcpkg_path\VCPKG_DEPS_LIST).replace(`":`",`":x64-windows`")"

echo "Installing rx-cpp"
Invoke-Expression "$vcpkg_path\vcpkg.exe install --head (Get-Content -Path $iroha_vcpkg_path\VCPKG_HEAD_DEPS_LIST).replace(`":`",`":x64-windows`")"
Invoke-Expression "$vcpkg_path\vcpkg.exe install --triplet x64-windows (Get-Content -Path $iroha_vcpkg_path\VCPKG_DEPS_LIST)"
Invoke-Expression "$vcpkg_path\vcpkg.exe install --triplet x64-windows --head (Get-Content -Path $iroha_vcpkg_path\VCPKG_HEAD_DEPS_LIST)"

echo "Run vcpkg.exe integrate install"
Invoke-Expression "$vcpkg_path\vcpkg.exe integrate install"
15 changes: 0 additions & 15 deletions vcpkg/VCPKG_BOOST_LOCALE_DEPS_LIST

This file was deleted.

46 changes: 23 additions & 23 deletions vcpkg/VCPKG_DEPS_LIST
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
protobuf:
grpc:
tbb:
gtest:
gflags:
soci[boost,postgresql]:
rapidjson:
fmt:
spdlog:
boost-filesystem:
boost-system:
boost-thread:
boost-variant:
boost-multiprecision:
boost-bimap:
boost-format:
boost-circular-buffer:
boost-assign:
boost-uuid:
boost-accumulators:
boost-property-tree:
boost-process:
iroha-ed25519:
protobuf
grpc
tbb
gtest
gflags
soci[boost,postgresql]
rapidjson
fmt
spdlog
boost-filesystem
boost-system
boost-thread
boost-variant
boost-multiprecision
boost-bimap
boost-format
boost-circular-buffer
boost-assign
boost-uuid
boost-accumulators
boost-property-tree
boost-process
iroha-ed25519
2 changes: 1 addition & 1 deletion vcpkg/VCPKG_HEAD_DEPS_LIST
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rxcpp:
rxcpp
15 changes: 15 additions & 0 deletions vcpkg/VCPKG_NO_SANITIZERS_DEPS_LIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
boost-assert
boost-build
boost-config
boost-function
boost-integer
boost-iterator
boost-modular-build-helper
boost-smart-ptr
boost-static-assert
boost-system
boost-thread
boost-type-traits
boost-unordered
boost-vcpkg-helpers
libiconv
4 changes: 2 additions & 2 deletions vcpkg/build_iroha_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ git clone https://github.com/microsoft/vcpkg $vcpkg_path
git -C $vcpkg_path checkout $(cat "$iroha_vcpkg_path"/VCPKG_COMMIT_SHA)
for i in "$iroha_vcpkg_path"/patches/*.patch; do git -C $vcpkg_path apply $i; done;
$vcpkg_path/bootstrap-vcpkg.sh
$vcpkg_path/vcpkg install $(cat "$iroha_vcpkg_path"/VCPKG_DEPS_LIST | cut -d':' -f1 | tr '\n' ' ')
$vcpkg_path/vcpkg install --head $(cat "$iroha_vcpkg_path"/VCPKG_HEAD_DEPS_LIST | cut -d':' -f1 | tr '\n' ' ')
cat "$iroha_vcpkg_path"/VCPKG_DEPS_LIST | xargs $vcpkg_path/vcpkg install
cat "$iroha_vcpkg_path"/VCPKG_HEAD_DEPS_LIST | xargs $vcpkg_path/vcpkg install --head

0 comments on commit 2d6c29c

Please sign in to comment.