Skip to content

Commit

Permalink
Manifest rebased
Browse files Browse the repository at this point in the history
  • Loading branch information
Giemp95 committed Nov 10, 2022
1 parent 45dd9d9 commit 0069603
Showing 1 changed file with 23 additions and 10 deletions.
33 changes: 23 additions & 10 deletions openfl-gramine/openfl.manifest.template
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,28 @@ fs.start_dir="/workspace"
# .URI - path on host
# .PATH - pointer inside gramine

fs.mounts = [
{ uri = "file:{{ gramine.runtimedir() }}", path = "/lib" },
{ uri = "file:{{ arch_libdir }}", path = "{{ arch_libdir }}" },
{ uri = "file:/usr", path = "/usr" },
{ uri = "file:/etc", path = "/etc" },
{ uri = "file:/workspace", path = "/workspace" },

{ type = "tmpfs", path = "/tmp" },
]
fs.mount.lib.type = "chroot"
fs.mount.lib.path = "/lib"
fs.mount.lib.uri = "file:{{ gramine.runtimedir() }}"

fs.mount.lib2.type = "chroot"
fs.mount.lib2.path = "{{ arch_libdir }}"
fs.mount.lib2.uri = "file:{{ arch_libdir }}"

fs.mount.usr.type = "chroot"
fs.mount.usr.path = "/usr"
fs.mount.usr.uri = "file:/usr"

fs.mount.etc.type = "chroot"
fs.mount.etc.path = "/etc"
fs.mount.etc.uri = "file:/etc"

fs.mount.workspace.type = "chroot"
fs.mount.workspace.path = "/workspace"
fs.mount.workspace.uri = "file:/workspace"

fs.mount.tmp.type = "tmpfs"
fs.mount.tmp.path = "/tmp"

sgx.preheat_enclave = false

Expand All @@ -36,7 +49,7 @@ loader.pal_internal_mem_size = "256M"

sgx.debug = false
sgx.nonpie_binary = true
sgx.enclave_size = "{{ enclave_size }}"
sgx.enclave_size = "16G"
sys.stack.size = "4M"
sgx.thread_num = 512
#sys.brk.max_size = "1M"
Expand Down

0 comments on commit 0069603

Please sign in to comment.