Skip to content
This repository has been archived by the owner on Jul 31, 2019. It is now read-only.

Commit

Permalink
Updated to the latest build of libvcx for the iOS cocoapod and modifi…
Browse files Browse the repository at this point in the history
…ed the template file for a reduced size libvcx cargo build (#472)

* Adding the Cargo.toml changes needed to reduce the size of libraries build with cargo

* Removed the commented out strip command.

* Put back in the panic unwind rather than panic abort.

* Added the newest builds of the iOS cocoapod builds of libvcx to version 0.0.34 and 0.0.35
  • Loading branch information
nsivraj authored and hadleym committed Aug 28, 2018
1 parent 7da1bd1 commit 6c38a80
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Specs/vcx/0.0.34/vcx.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ through to the libvcx shared library.
s.homepage = 'https://www.evernym.com/'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'evernym-ios-dev' => 'iosdev@evernym.com' }
s.source = { :http => 'https://repo.corp.evernym.com/filely/ios/vcx.libvcxall_20180823.1708_universal.zip' }
s.source = { :http => 'https://repo.corp.evernym.com/filely/ios/vcx.libvcxall_20180827.1457_universal.zip' }

s.ios.deployment_target = '8.0'

Expand Down
2 changes: 1 addition & 1 deletion Specs/vcx/0.0.35/vcx.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ through to the libvcx shared library.
s.homepage = 'https://www.evernym.com/'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'evernym-ios-dev' => 'iosdev@evernym.com' }
s.source = { :http => 'https://repo.corp.evernym.com/filely/ios/vcx.libvcxpartial_20180823.1707_universal.zip' }
s.source = { :http => 'https://repo.corp.evernym.com/filely/ios/vcx.libvcxpartial_20180827.1456_universal.zip' }

s.ios.deployment_target = '8.0'

Expand Down
12 changes: 12 additions & 0 deletions vcx/libvcx/build_scripts/android/mac/cargo.toml.reduce.size.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

[profile.release]
debug = false
panic = 'unwind'
incremental = false
lto = true
rpath = false
debug-assertions = false
overflow-checks = false
# codegen-units = 1
# The opt-level "z" is still only available for nightly rustc/rustup builds
# opt-level = "z"
4 changes: 1 addition & 3 deletions vcx/libvcx/build_scripts/ios/mac/cargo.toml.reduce.size.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[profile.release]
debug = false
panic = 'abort'
panic = 'unwind'
incremental = false
lto = true
rpath = false
Expand All @@ -10,5 +10,3 @@ overflow-checks = false
# codegen-units = 1
# The opt-level "z" is still only available for nightly rustc/rustup builds
# opt-level = "z"

# strip -S -x -o ${BUILD_CACHE}/arch_libs/${library}-$arch-stripped.a -r ${BUILD_CACHE}/arch_libs/${library}_${arch}.a

0 comments on commit 6c38a80

Please sign in to comment.