Zheng, Qi
cd7a8cbc57
[demos] Specify grpc_pingpong package version for go 1.18
2023-10-11 18:16:26 +08:00
Zheng, Qi
57ab3f9d9f
[demos] Specify go-sqlite3 version to avoid build error with go 1.16.3
2023-06-04 20:11:40 +08:00
Zheng, Qi
22ff266958
Clean up unnecessary default_mmap_size configuration in demos
2022-12-21 23:19:25 +08:00
Hui, Chunyang
0a367784cb
Fix grpc pingpong test
2022-12-05 19:37:26 +08:00
Zheng, Qi
178bd023e3
[demos] Fix the issue of grpc_benchmark not working on go 1.18
2022-11-01 15:21:52 +08:00
Hui, Chunyang
7bbe7b65fe
Update Vault demo to v1.10.0
2022-09-06 12:57:16 +08:00
Lan Yun
fbff05bddb
Update the Golang version to 1.18.4 and use it as the default one.
...
Signed-off-by: Lan Yun <yun.lan@intel.com>
2022-08-08 12:18:33 +08:00
zongmin.gu
59988f9491
Update ping/pong demo with bom file
2021-09-26 16:34:52 +08:00
zongmin.gu
f0156cb08a
Update go web_server demo with bom file
2021-09-26 16:34:52 +08:00
zongmin.gu
b86cbfac48
Update go_sqlite demo with bom file
2021-09-26 16:34:52 +08:00
zongmin.gu
3684560683
Update Vault demo with bom file
2021-09-26 16:34:52 +08:00
Kailun Qin
0f23ddb14e
Add the HashiCorp Vault demo
...
Signed-off-by: Kailun Qin <kailun.qin@intel.com>
2021-04-16 18:32:51 +08:00
zongmin.gu
b2c0f5e647
Update golang version to 1.16.3
2021-04-16 09:34:26 +08:00
He Sun
9a47791ae3
Put the shebang in the front of run_occlum_bench.sh
2020-10-21 10:38:11 +08:00
yuanwu
cd588d2ca4
Add the gRPC-golang benchmark
...
Copied and Modified the google.golang.org/grpc/benchmark/run_bench.sh to
support the benchmark with occlum.
Signed-off-by: yuanwu <yuan.wu@intel.com>
2020-10-12 11:24:33 +08:00
James Dong
7fb4d9039a
Fix an issue caused by recent reverted interface-based service registration
...
in cmd/protoc-gen-go-grpc.
2020-10-10 14:14:14 +08:00
James Dong
fec361f664
Add Golang SQLite demo
2020-09-27 14:21:58 +08:00
Hui, Chunyang
f4b3389bbe
Fix golang grpc and local attestation demo to align with occlum 0.16.0
2020-09-20 10:39:54 +08:00
James Dong
124acba6db
Add a sample of Golang gRPC client/server programs
2020-09-02 17:06:09 +08:00
Hui, Chunyang
0252f0949d
Rename "occlum_context" to "occlum_instance" for demos
2020-08-15 19:12:39 +08:00
Tate, Hongliang Tian
5e8f997d4d
Make PIE the default mode for Go toolchain
...
Occlum-compatible executable binaries must be Position-Independent
Executable (PIE). Previously, to build such binaries, the users need to
explicitly give `-buildmode=pie` flag to `occlum-go`. Apparently, this
is error-prone. This commit sets `-buildmode=pie` by default for `occlum-go`.
In addition, this commit upgrades the Go version to 1.13.7.
2020-08-11 05:35:43 +00:00
LI Qing
1f30d75713
Add Java demo
2020-07-17 17:35:24 +00:00
LI Qing
81eb364c5b
Install zlib in occlum-gcc toolchians
2020-07-17 17:31:41 +00:00
LI Qing
c1b4814703
Rewrite Python demo with NumPy, scikit-learn, and pandas
2020-06-05 11:56:31 +08:00
zongmin.gu
942321363d
Combine the enclave configuration into the occlum configuration file
...
Update the occlum.json to align with the gen_enclave_conf design.
Below is the two updated structures:
"metadata": {
"product_id": 0,
"version_number": 0,
"debuggable": true
},
"resource_limits": {
"max_num_of_threads": 32,
"kernel_space_heap_size": "32MB",
"kernel_space_stack_size": "1MB",
"user_space_size": "256MB"
}
2020-06-05 11:03:47 +08:00
LI Qing
c27a94194f
Polish the Golang demo with Gin web framework
2020-05-29 02:03:41 +00:00
LI Qing
6d72e10fc1
Add Golang toolchain and the demo
...
This commit provides a modified Go runtime in Docker image.
Now we can build a Go program using `occlum-go`, then run it
in SGX enclaves by Occlum.
The Golang demo demonstrates how to build and run a web server
program written in Go.
2020-05-15 03:02:42 +00:00