Browse Source

updates to documentation and binary packing script for release

master
Jaromil 2 years ago
parent
commit
09b0467b1a
3 changed files with 27 additions and 73 deletions
  1. +10
    -6
      ChangeLog.md
  2. +0
    -45
      build/dl-binaries.sh
  3. +17
    -22
      build/zip-binaries.sh

+ 10
- 6
ChangeLog.md View File

@@ -1,12 +1,16 @@
# Zenroom ChangeLog

## Current development (last update June 2019)
## 1.0.0 (September 2019)

Internal refactoring, code cleanup and memory optimization. Fully
deterministic random implementation for blockchain usage. Various
fixes and improvements for the error reporting output. Fixes to the
iOS native library. Improved python3 and JS bindings. Progress on the
uni-kernel ARM Cortex port.
Final refactoring and code cleanup with many optimizations.

Complete call API and full Zencode syntax for simple and coconut
scenarios. Rule configurability for input/output (JSON or CBOR) and
semantic versioning contract checks. Fully deterministic random
engine. Several improvements to the error reporting output and fixes
to the iOS native library. Bindings included in source, improved and
released on pypi and npm. Documentation included and online at
dev.zenroom.org

## 0.9 (March 2019)



+ 0
- 45
build/dl-binaries.sh View File

@@ -1,45 +0,0 @@
#!/usr/bin/env zsh

[[ -r zip-binaries.sh ]] || {
print "usage: run from the build/ directory"
return 1 }

push() { mkdir -p $1 && pushd $1 }

push python2
wget https://sdk.dyne.org:4443/view/decode/job/zenroom-python/lastSuccessfulBuild/artifact/build/python2/_zenroom.so
popd

push python3
wget https://sdk.dyne.org:4443/view/decode/job/zenroom-python/lastSuccessfulBuild/artifact/build/python3/_zenroom.so
popd

# javascript-demo
push demo
wget https://sdk.dyne.org:4443/view/decode/job/zenroom-demo/lastSuccessfulBuild/artifact/docs/demo/index.data
wget https://sdk.dyne.org:4443/view/decode/job/zenroom-demo/lastSuccessfulBuild/artifact/docs/demo/index.html
wget https://sdk.dyne.org:4443/view/decode/job/zenroom-demo/lastSuccessfulBuild/artifact/docs/demo/index.js
wget https://sdk.dyne.org:4443/view/decode/job/zenroom-demo/lastSuccessfulBuild/artifact/docs/demo/index.wasm
popd
# rnjs
push reactnative
wget https://sdk.dyne.org:4443/view/decode/job/zenroom-react/lastSuccessfulBuild/artifact/build/rnjs/zenroom.js
popd
# asmjs
push asmjs
wget https://sdk.dyne.org:4443/view/decode/job/zenroom-asmjs/lastSuccessfulBuild/artifact/build/asmjs/zenroom.js
wget https://sdk.dyne.org:4443/view/decode/job/zenroom-asmjs/lastSuccessfulBuild/artifact/build/asmjs/zenroom.js.mem
popd
# wasm
push wasm
wget https://sdk.dyne.org:4443/view/decode/job/zenroom-wasm/lastSuccessfulBuild/artifact/build/wasm/zenroom.js
wget https://sdk.dyne.org:4443/view/decode/job/zenroom-wasm/lastSuccessfulBuild/artifact/build/wasm/zenroom.wasm
popd

# linux
wget https://sdk.dyne.org:4443/view/decode/job/zenroom-shared-android-arm/lastSuccessfulBuild/artifact/src/zenroom.so
mv zenroom.so zenroom-armhf.so
wget https://sdk.dyne.org:4443/view/decode/job/zenroom-static-armhf/lastSuccessfulBuild/artifact/src/zenroom-static
mv zenroom-static zenroom.armhf
wget https://sdk.dyne.org:4443/view/decode/job/zenroom-static-amd64/lastSuccessfulBuild/artifact/src/zenroom-static
mv zenroom-static zenroom.x86

+ 17
- 22
build/zip-binaries.sh View File

@@ -35,6 +35,8 @@ function checkbin() {

function copyexamples() {
rsync -raX ../examples $1/
rsync -raX ../docs/website/site $1/
cp -v ../docs/Zencode_Whitepaper.pdf $1/
}

function download() {
@@ -73,16 +75,17 @@ for t in $targets; do
download zenroom-apple-ios build/zenroom-ios-armv7.a
download zenroom-apple-ios build/zenroom-ios-x86_64.a
download zenroom-apple-osx src/zenroom.command
download zenroom-python-apple-osx build/python2/_zenroom.so py2_osx_zenroom.so
mkdir -p $dir/python2 && mv py2_osx_zenroom.so $dir/python2/_zenroom.so
download zenroom-python-apple-osx build/python3/_zenroom.so py3_osx_zenroom.so
mkdir -p $dir/python3 && mv py3_osx_zenroom.so $dir/python3/_zenroom.so
# download zenroom-python-apple-osx build/python2/_zenroom.so py2_osx_zenroom.so
# mkdir -p $dir/python2 && mv py2_osx_zenroom.so $dir/python2/_zenroom.so
download zenroom-python-apple-osx build/zenroom-python3.tar.gz zenroom-osx-python3.tar.gz
mkdir -p $dir && pushd $dir && tar xfz ../zenroom-osx-python3.tar.gz; popd
# mkdir -p $dir/python3 && mv py3_osx_zenroom.so $dir/python3/_zenroom.so
# pack
checkbin zenroom.command $dir
checkbin zenroom-ios-arm64.a $dir
checkbin zenroom-ios-armv7.a $dir
checkbin zenroom-ios-x86_64.a $dir
checkbin zenroom-wrapper.py $dir/python2
# checkbin zenroom-wrapper.py $dir/python2
checkbin zenroom-wrapper.py $dir/python3
copyexamples $dir
continue ;;
@@ -93,20 +96,18 @@ for t in $targets; do
download zenroom-static-amd64 src/zenroom zenroom.x86
download zenroom-shared-android-x86 src/zenroom.so zenroom-android-x86.so
download zenroom-shared-android-arm src/zenroom.so zenroom-android-arm.so
mkdir -p $dir/python2
download zenroom-python build/python2/_zenroom.so $dir/python2/_zenroom.so
# mkdir -p $dir/python2
# download zenroom-python build/python2/_zenroom.so $dir/python2/_zenroom.so
mkdir -p $dir/python3
# list taken from build/python3.sh - please update me!
for v in 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.7.0 3.7.1 3.7.2; do
download zenroom-python build/python3/_zenroom_${v}.so $dir/python3/_zenroom_${v}.so
done
download zenroom-python build/zenroom-python3.tar.gz zenroom-linux-python3.tar.gz
mkdir -p $dir && pushd $dir && tar xfz ../zenroom-linux-python3.tar.gz; popd
# pack
checkbin zenroom.x86 $dir
checkbin zenroom.arm $dir
checkbin zenroom-android-x86.so $dir
checkbin zenroom-android-arm.so $dir
# checkbin go $dir
checkbin zenroom-wrapper.py $dir/python2
# checkbin zenroom-wrapper.py $dir/python2
checkbin zenroom-wrapper.py $dir/python3
copyexamples $dir
continue ;;
@@ -114,16 +115,10 @@ for t in $targets; do
prepdir $dir
# download
download zenroom-react build/rnjs/zenroom.js $dir/zenroom-react.js
mkdir -p $dir/wasm
download zenroom-wasm build/wasm/zenroom.js $dir/wasm/zenroom.js
download zenroom-wasm build/wasm/zenroom.wasm $dir/wasm/zenroom.wasm
mkdir -p $dir/asmjs
download zenroom-asmjs build/asmjs/zenroom.js $dir/asmjs/zenroom.js
download zenroom-asmjs build/asmjs/zenroom.js.mem $dir/asmjs/zenroom.js.mem
mkdir -p $dir/webassembly
download zenroom-demo docs/demo/index.data $dir/webassembly/index.data
download zenroom-demo docs/demo/index.js $dir/webassembly/index.js
download zenroom-demo docs/demo/index.wasm $dir/webassembly/index.wasm
mkdir -p $dir/web
download zenroom-web build/web/zenroom.data $dir/web/zenroom.data
download zenroom-web build/web/zenroom.js $dir/web/zenroom.js
download zenroom-web build/web/zenroom.wasm $dir/web/zenroom.wasm
# pack
checkbin zenroom_exec.js $dir
copyexamples $dir


Loading…
Cancel
Save