Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
417 commits
Select commit Hold shift + click to select a range
2130746
fix: new singleton syntax in tests
samcamwilliams Jan 25, 2025
207600a
Merge branch 'main' into feat/dev_snp_nif
samcamwilliams Jan 25, 2025
323af6c
chore: revert Oleg's HTTP/3 changes as introduced segfaults.
samcamwilliams Jan 25, 2025
2abfa6f
fix: dev_router tests
samcamwilliams Jan 25, 2025
54e54af
Merge branch 'main' into feat/dev_snp_nif
samcamwilliams Jan 25, 2025
4e40a3f
fix: dev_snp_nif tests
samcamwilliams Jan 25, 2025
1a877b1
chore: remove snp nif debug logs
samcamwilliams Jan 25, 2025
05a0a42
chore: remove unnecessary copy of ovmf.fd
samcamwilliams Jan 25, 2025
5a1e513
chore: tidy
samcamwilliams Jan 25, 2025
094c0db
chore: temporarily disable http/3 + snp tests for merge into main.
samcamwilliams Jan 26, 2025
35ca90d
chore: don't include settings changes
samcamwilliams Jan 26, 2025
494be74
chore: cleanup codebase artifacts
samcamwilliams Jan 26, 2025
4374380
feat: gate AOT support by feature flag (default false) until stable
samcamwilliams Jan 26, 2025
b6d8954
Merge pull request #102 from permaweb/feat/dev_snp_nif
samcamwilliams Jan 26, 2025
62d83dc
chore: `http_port` to `port`.
samcamwilliams Jan 26, 2025
bfb2aea
wip: first draft of multiple attestations on messages
samcamwilliams Jan 26, 2025
481327e
wip: httpsig codec device debugging
samcamwilliams Jan 26, 2025
eb0b3a9
wip: progress towards http-multisig
samcamwilliams Jan 27, 2025
dac9c49
wip: signature (...maybe signatures?) work. Progress on hmac.
samcamwilliams Jan 27, 2025
b908892
wip: signatures and hmac both verifying
samcamwilliams Jan 27, 2025
d5eb4a4
wip: multisignatures verify correctly
samcamwilliams Jan 27, 2025
9e0b6ef
wip: do not return signature and signature-inputs in message headers …
samcamwilliams Jan 27, 2025
e05075b
fix: resetting and recreated of signature values
samcamwilliams Jan 27, 2025
bbba8df
fix: do not remove ids from attestation submessages
samcamwilliams Jan 27, 2025
d49f15c
fix: multipart body generation is deterministic and ordered.
samcamwilliams Jan 27, 2025
06f275c
fix: codec reference
samcamwilliams Jan 27, 2025
e868b92
fix: codec reference in `hb_http`
samcamwilliams Jan 27, 2025
6d93561
chore: add deep multisig test
samcamwilliams Jan 27, 2025
dc2f784
feat(hb_singleton): implement to/1 function for TABM conversion
oltarasenko Jan 23, 2025
b55e71c
chore: apply syntax improvements from main
oltarasenko Jan 27, 2025
5560313
feat: add `target` pattern utility to `hb_message`.
samcamwilliams Jan 27, 2025
26d3569
feat: new `dev_relay` implementation
samcamwilliams Jan 27, 2025
9fe303c
feat: `get_first` utility for Converge: gets the first path that matches
samcamwilliams Jan 27, 2025
2ff79e5
fix: `dev_router` test fixes
samcamwilliams Jan 27, 2025
04b0fae
Merge pull request #103 from permaweb/impr/dev_relay
samcamwilliams Jan 27, 2025
10bc836
cherrypick: `port` reference normalization
samcamwilliams Jan 27, 2025
e9220db
Merge branch 'cherrypick/port-cli-opts'
samcamwilliams Jan 27, 2025
57aa7b8
Merge branch 'main' into feat/multi-attestations
samcamwilliams Jan 27, 2025
5cd7ead
fix: merge conflict
samcamwilliams Jan 27, 2025
77c4c7f
fix: multisig caching
samcamwilliams Jan 27, 2025
e12a71e
wip: multisig fixes
samcamwilliams Jan 28, 2025
28b5102
fix: `dev_message` test
samcamwilliams Jan 28, 2025
53925cb
fix: `dev_codec_flat` now works with the new encoding scheme
samcamwilliams Jan 28, 2025
2182116
chore: unused variable
samcamwilliams Jan 28, 2025
1d01c9f
fix: correct messages for attestation device
samcamwilliams Jan 28, 2025
b85748f
feat: `sign` and `verify` ans-104 with the new multisig-friendly format
samcamwilliams Jan 28, 2025
bbc4979
fix: all codec tests
samcamwilliams Jan 28, 2025
c101936
chore: tidy old format refs
samcamwilliams Jan 28, 2025
d1e429d
fix: JSON iface logic. Now appears horrendously slow.
samcamwilliams Jan 28, 2025
03abc6e
fix: errant format ref
samcamwilliams Jan 28, 2025
3ae7974
chore: codec references
samcamwilliams Jan 28, 2025
ceb7282
fix: auth issues
samcamwilliams Jan 28, 2025
369ac40
feat: generate id for individual signature in hsig
samcamwilliams Jan 28, 2025
a789189
wip: hb_cache alterations for new hashpaths and multisig
samcamwilliams Jan 28, 2025
743618c
wip: cache fixes
samcamwilliams Jan 28, 2025
707650b
fix: complex type signing
samcamwilliams Jan 28, 2025
ba6b457
fix: hb_cache reset before test
samcamwilliams Jan 28, 2025
e1b8d0d
chore: add match debug group
samcamwilliams Jan 28, 2025
6551ac1
todo: httpsig->ans-104 conv
samcamwilliams Jan 29, 2025
246d0bb
chore: errant atom
samcamwilliams Jan 29, 2025
e98262a
fix: scheduler tests
samcamwilliams Jan 29, 2025
cb11260
fix: `dev_faff` uses new attestors API
samcamwilliams Jan 29, 2025
bbc8e79
fix: `dev_json_face` `id/3` usage
samcamwilliams Jan 29, 2025
a4c7536
fix: `dev_process` header case AOS
samcamwilliams Jan 29, 2025
a38c8d5
chore: attestor =/= signer
samcamwilliams Jan 29, 2025
1ded55a
chore: event debug logging
samcamwilliams Jan 29, 2025
754a50d
fix: event logging and signer references
samcamwilliams Jan 29, 2025
33aec26
chore: remove comment
samcamwilliams Jan 29, 2025
2597e97
wip: `hb_path` stores hashpath in `priv`.
samcamwilliams Jan 29, 2025
a70c5e1
wip: hb_converge stores hashpath in `priv`
samcamwilliams Jan 29, 2025
a74ba3f
wip: move hashpath from `priv` for signing and verification
samcamwilliams Jan 29, 2025
57d1eee
wip: expect hashpath in `priv` for printing
samcamwilliams Jan 29, 2025
d5c824e
fix: allow multiple hashpaths associated with different signatures in…
samcamwilliams Jan 29, 2025
a85651b
chore: atom keys
samcamwilliams Jan 29, 2025
4425e59
fix: hashpath `priv` in `hb_path` and `hb_cache`
samcamwilliams Jan 29, 2025
7e167e7
chore: misc fixes
samcamwilliams Jan 29, 2025
04bd8e9
wip: converge `priv->hashpath` debugging
samcamwilliams Jan 29, 2025
9586c32
fix: `dev_process` returns correct form
samcamwilliams Jan 29, 2025
323e526
fix: Converge hashpath application
samcamwilliams Jan 30, 2025
8efa64a
Merge pull request #104 from permaweb/feat/multi-attestations
samcamwilliams Jan 30, 2025
f39cd8d
init dev_snp test
PeterFarber Jan 29, 2025
fbcd3ca
trusted software working
PeterFarber Jan 30, 2025
dd9e019
check debug bit | enabled signatature validation
PeterFarber Jan 30, 2025
01e98ad
enabled isSigValid check
PeterFarber Jan 30, 2025
c3a1e77
Ready for merge with main
PeterFarber Jan 30, 2025
11fb5dc
wip: fixes and test
samcamwilliams Jan 30, 2025
7c80955
chore: remove debug prints
samcamwilliams Jan 30, 2025
4b5ab16
fix: hb_message:format issue
samcamwilliams Jan 30, 2025
fa0b570
chore: fixes
samcamwilliams Jan 30, 2025
956b781
feat: special case for ensuring that `path` key is correctly set in `…
samcamwilliams Jan 30, 2025
bd2a320
fix: avoid Cowboy's `setcookie` header filtering in dispatch of response
samcamwilliams Jan 30, 2025
474c761
fix: ensure that path is unmodified from original in Cowboy header pr…
samcamwilliams Jan 30, 2025
c14796b
chore: add relay event debug
samcamwilliams Jan 30, 2025
e9ab9a9
chore: add HTTP API usage example for paid+signed relay
samcamwilliams Jan 30, 2025
40c516a
chore: implement fs based cache keys render
oltarasenko Jan 29, 2025
fba7724
fix: redirects are 'ok' responses
samcamwilliams Jan 30, 2025
c3eb7c7
fix: add attestor length checks
samcamwilliams Jan 30, 2025
b24f3ac
chore: `ar_http` debugging events
samcamwilliams Jan 30, 2025
01fc19d
fix: ensure method is added to message in parse
samcamwilliams Jan 30, 2025
4880a7a
chore: short_id error handling
samcamwilliams Jan 30, 2025
efe567d
chore: capitals in keys
samcamwilliams Jan 30, 2025
63f82d0
feat: end-to-end wasm payments test via HTTP
samcamwilliams Jan 30, 2025
6c22aab
Merge pull request #106 from permaweb/test/e2e-examples
samcamwilliams Jan 30, 2025
1184c36
Merge branch 'main' into test/snp
samcamwilliams Jan 30, 2025
a6dc68a
fix: `hb_opts` merge conflict
samcamwilliams Jan 30, 2025
5105254
fix: `dev_snp` validation
samcamwilliams Jan 30, 2025
2210d2a
feat: add basic serialization/deserialization format for `[email protected]`. …
samcamwilliams Jan 30, 2025
3a3cabf
feat: add offline mode for SNP tests.
samcamwilliams Jan 30, 2025
50395cb
fix: test response
samcamwilliams Jan 30, 2025
719e836
fix: test return type
samcamwilliams Jan 30, 2025
fca8276
Merge pull request #107 from permaweb/test/snp
samcamwilliams Jan 30, 2025
1c1c223
fix: dynamically getting priv directory to load beamr
PeterFarber Jan 31, 2025
7e70f0b
Merge pull request #111 from permaweb/feat/beamr_load_driver
PeterFarber Jan 31, 2025
23af80e
chore(dev_codec_httpsig): consistently order component identifiers in…
TillaTheHun0 Jan 31, 2025
273b42e
chore(dev_codec_httpsig): correct signature base in hmac
TillaTheHun0 Jan 31, 2025
1dd29e2
chore(dev_codec_httpsig): 9421 encoding tweaks and style cleanup
TillaTheHun0 Jan 31, 2025
ce52839
fix(hb_http): strip fields, not signed, from the incoming message
TillaTheHun0 Jan 31, 2025
adb7ebf
feat: `initialized` parameter for `dev_meta`.
samcamwilliams Feb 1, 2025
52f02d5
Merge pull request #113 from permaweb/feat/dev_meta-init
samcamwilliams Feb 1, 2025
f49a56a
fix: http connection opts should only be manually set when http/3 is …
samcamwilliams Feb 1, 2025
cc47987
Merge pull request #114 from permaweb/fix/http-connect-opts
samcamwilliams Feb 1, 2025
d811b03
fix: sign test requests
samcamwilliams Feb 2, 2025
5320768
feat: add `httpc` alternate http client
samcamwilliams Feb 2, 2025
8f0e7df
fix: normalize in path should not lower case string
samcamwilliams Feb 2, 2025
6963ad9
Merge branch 'tillathehun0/http-sig-tweaks' into feat/http-clients
samcamwilliams Feb 2, 2025
56834b8
chore: debugging events
samcamwilliams Feb 3, 2025
e23d8c4
fix: content-type casting for httpc client
samcamwilliams Feb 3, 2025
477fa25
fix: regex path normalization
samcamwilliams Feb 3, 2025
005dde5
fix: use `target` process IDs on scheduler GET
samcamwilliams Feb 3, 2025
6a0d577
Merge pull request #115 from permaweb/feat/http-clients
samcamwilliams Feb 3, 2025
4a66000
fix: get signature names from individualized signature fields for mes…
samcamwilliams Feb 3, 2025
bcaec8f
chore: remove debug events
samcamwilliams Feb 3, 2025
5a29ed2
Merge pull request #116 from permaweb/fix/httpsig-names-from-dict
samcamwilliams Feb 3, 2025
4bb3c77
feat: add quick calls to start node with payments
samcamwilliams Feb 3, 2025
4490884
chore: add default dev_relay mode
samcamwilliams Feb 3, 2025
1f2aa0c
chore: rename hb_http_server start function
samcamwilliams Feb 3, 2025
e1fb434
Merge pull request #117 from permaweb/feat/easy-start-payments
samcamwilliams Feb 3, 2025
ea79308
chore: tame line lengths
samcamwilliams Feb 3, 2025
144576c
Merge pull request #98 from permaweb/hb_singleton_to
samcamwilliams Feb 3, 2025
c2b71ca
Merge pull request #105 from permaweb/feat/hb_fs_cache_render
samcamwilliams Feb 3, 2025
b9d9d9b
fix(dev_codec_httpsig_conv): only omit content-type if HyperBEAM http…
TillaTheHun0 Feb 3, 2025
7dad8ff
Merge pull request #119 from permaweb/tillathehun0/omit-content-type
samcamwilliams Feb 3, 2025
c0448ad
fix: normalize routes to lists
samcamwilliams Feb 3, 2025
85ad613
feat: add support for external calls of `balance`
samcamwilliams Feb 3, 2025
da4f5f1
feat: add non-chargable routes support and balance endpoint
samcamwilliams Feb 3, 2025
84e57c0
Merge pull request #120 from permaweb/impr/p4
samcamwilliams Feb 3, 2025
376d84e
feat(hb_codec_httpsig_conv): flatten body to single depth, in lieu of…
TillaTheHun0 Feb 3, 2025
39a4c87
wip: legacy SU compatible interface
samcamwilliams Feb 4, 2025
73f9159
Revert "wip: legacy SU compatible interface"
samcamwilliams Feb 4, 2025
9c8d404
refactor(hb_cache_render): utilize hb_store for rendering, supporting…
oltarasenko Feb 5, 2025
bdc8d76
fix: properly express wasi keys in binary form
samcamwilliams Feb 6, 2025
7685acc
Merge pull request #121 from permaweb/tillathehun0/flat-http
samcamwilliams Feb 6, 2025
787bc1f
fixup: errant patch of `dev_codec_httpsig_conv
samcamwilliams Feb 6, 2025
cb8160e
Merge pull request #122 from permaweb/hb_cache_viz
samcamwilliams Feb 7, 2025
3d58a0e
wip: legacy SU compatible interface
samcamwilliams Feb 4, 2025
59d3a23
fix: HTTPsig API now works
samcamwilliams Feb 4, 2025
8e62c69
feat: add public key exposure over JSON as optional encoding flag
samcamwilliams Feb 5, 2025
785aef4
feat: Legacy SU compatible stream API
samcamwilliams Feb 5, 2025
082198e
feat: implement cache lookup device
samcamwilliams Feb 5, 2025
80ed172
chore: quarantine janky legacy iface
samcamwilliams Feb 5, 2025
0508dba
chore: `hb_cache` safe fail
samcamwilliams Feb 5, 2025
81a3167
feat: Schedule the message upon itself as its first slot, matching le…
samcamwilliams Feb 5, 2025
aaf4448
note: generalized `push` design
samcamwilliams Feb 5, 2025
185466d
feat: add drop-in replacement execution device that relays to a JSON-…
samcamwilliams Feb 5, 2025
0eb7c9c
chore: add `compute-lite` device to `preloaded devices
samcamwilliams Feb 5, 2025
d643a04
fix: format compatibility with `aos-2`
samcamwilliams Feb 5, 2025
7cb6115
feat: aos-2 compat format returns point-in-time state data to caller
samcamwilliams Feb 5, 2025
865dd5e
fix: base http config
samcamwilliams Feb 5, 2025
09c9efe
fix: `hb_cache:list` resilience
samcamwilliams Feb 5, 2025
33f51da
fix: http scheduler routes
samcamwilliams Feb 5, 2025
5672c29
fix: accept wildcard case
samcamwilliams Feb 5, 2025
ba664f0
chore: legacy AO process spec
samcamwilliams Feb 5, 2025
e2ac1cf
chore: switch compute-lite to use slot rather than message ID
samcamwilliams Feb 6, 2025
ca70313
fix: erroneous `force_signed` check
samcamwilliams Feb 6, 2025
00c08e8
feat: do not filter body if `content-digest` is present
samcamwilliams Feb 6, 2025
62f9462
feat: validate and generate `content-digest` field in httpsig codec.
samcamwilliams Feb 6, 2025
dd31430
feat: expose the `content-digest`, such that non-AO participants can …
samcamwilliams Feb 6, 2025
80e6146
feat: support derived components as normal keys in AO. Sign them with…
samcamwilliams Feb 6, 2025
7819bff
chore: ignore new `content-digest` field in message comparisons
samcamwilliams Feb 6, 2025
30006e9
chore: remove `debug` events
samcamwilliams Feb 6, 2025
281632b
wip: validate httpsig message on ingest
samcamwilliams Feb 6, 2025
aa8a84f
fix(dev_codec_httpsig): return correct shape from verify
TillaTheHun0 Feb 6, 2025
8b9f5d5
feat(hb_message): always disregard content-type on match
TillaTheHun0 Feb 6, 2025
e0fc1aa
fix: add derived component specifier to items in signature base
samcamwilliams Feb 6, 2025
a817062
wip: httpsig validation on edge
samcamwilliams Feb 6, 2025
9c41bd3
chore: add default route for local CU
samcamwilliams Feb 7, 2025
e060bdb
fix: do not wrap body in unnecessary list for scheduler compat iface
samcamwilliams Feb 7, 2025
d3356d7
Revert "fix: do not wrap body in unnecessary list for scheduler compa…
samcamwilliams Feb 7, 2025
1c6ed6b
fix: flatten JSON output
samcamwilliams Feb 7, 2025
9477b8b
fix: Normalize error case correctly
samcamwilliams Feb 7, 2025
098fe2e
fix: correct return type of compute lite
samcamwilliams Feb 7, 2025
f1444a6
feat: support JSON return mode. Embedded CU now works.
samcamwilliams Feb 7, 2025
9b1ccf0
chore: tidy `[email protected]` device
samcamwilliams Feb 7, 2025
5060904
wip: load messages correctly from cache on request
samcamwilliams Feb 7, 2025
a35cbc9
feat: add `address` to meta info, filter non-message params
samcamwilliams Feb 7, 2025
f2ad1a0
chore: remove dead code
samcamwilliams Feb 7, 2025
a755753
wip: load by id
samcamwilliams Feb 7, 2025
29d018d
fix: do not add address if no wallet is set on the node
samcamwilliams Feb 7, 2025
6580957
fix: cache issues
samcamwilliams Feb 7, 2025
ff273c7
fix: scheduler can find location of process correctly
samcamwilliams Feb 7, 2025
a0fd815
chore: remove debug events
samcamwilliams Feb 7, 2025
06bbad0
chore: re-enable HTTP ingest sig test
samcamwilliams Feb 7, 2025
3e3fc3f
fix: cache control tests
samcamwilliams Feb 7, 2025
574df61
fix: path normalization where the path contains integers
samcamwilliams Feb 7, 2025
8badb47
fix: cache control must store base message, req, and response
samcamwilliams Feb 7, 2025
c8efafc
Merge pull request #123 from permaweb/feat/load-from-id
samcamwilliams Feb 7, 2025
0d15259
chore: add test for correct parsing of singleton resolve message list
samcamwilliams Feb 8, 2025
3fdf498
chore: improve opts
samcamwilliams Feb 8, 2025
17e227e
chore: remove unnecessary opts
samcamwilliams Feb 8, 2025
080ccd3
feat: apply HTTP-only opts in `dev_meta`
samcamwilliams Feb 8, 2025
053eea4
wip: improve `dev_process` HTTP API
samcamwilliams Feb 8, 2025
4354f26
feat: `dev_message` attested keys functionality
samcamwilliams Feb 8, 2025
d6761be
feat: add `body-keys` to message for tracking the elements and order …
samcamwilliams Feb 8, 2025
47c1ace
wip: `body-keys` tracks inner messages
samcamwilliams Feb 8, 2025
4f7bab0
chore: remove debug prints and gain attested from normalized
samcamwilliams Feb 8, 2025
1d1f0a2
chore: test fixups and debug prints
samcamwilliams Feb 8, 2025
b6b7e66
chore: add exemplar empty message fs store test
samcamwilliams Feb 8, 2025
16f28a4
feat(httpsig): make hashpath signature tag parameter in lieu of 'Hash…
TillaTheHun0 Feb 10, 2025
2917ed5
docs(core): correct edoc syntax errors
TillaTheHun0 Feb 10, 2025
bce0db8
docs(core): generate edoc
TillaTheHun0 Feb 10, 2025
812ea77
docs(README): initial
TillaTheHun0 Feb 10, 2025
668882c
docs(README): wording adjustments
TillaTheHun0 Feb 10, 2025
d4823fd
docs(README): add `Messages` section
TillaTheHun0 Feb 10, 2025
c269f65
docs(README): section on IDs Hashpaths and Converge
TillaTheHun0 Feb 10, 2025
49abff8
chore: README updates
samcamwilliams Feb 11, 2025
0842f09
Merge pull request #124 from permaweb/tillathehun0/edoc
samcamwilliams Feb 11, 2025
c0d692a
chore: refactor `hb_http`
samcamwilliams Feb 11, 2025
86a4970
chore: remove debug events
samcamwilliams Feb 11, 2025
7de45ea
fix: early message validation
samcamwilliams Feb 11, 2025
babf405
fix: `[email protected]` status resilience in `run_as`
samcamwilliams Feb 12, 2025
7be50dc
fix: http sig inversion
samcamwilliams Feb 12, 2025
c6df303
fix: reset attestations on set key conflict
samcamwilliams Feb 12, 2025
4e1391a
fix: normalize message before signing
samcamwilliams Feb 12, 2025
7d41eeb
chore: remove errant debug
samcamwilliams Feb 12, 2025
9c179de
chore: remove errant deug event
samcamwilliams Feb 12, 2025
6f74b09
feat: add verify only signers
samcamwilliams Feb 12, 2025
fc66c7b
chore: validate only signers on schedule
samcamwilliams Feb 12, 2025
3968dbd
chore: remove unnecessary print
samcamwilliams Feb 12, 2025
6c16bad
chore: fix HTTP-by-id test
samcamwilliams Feb 12, 2025
74fb166
chore: test proc infra
samcamwilliams Feb 12, 2025
7dfbcd8
chore: remove dead test
samcamwilliams Feb 12, 2025
b9b66f8
chore: test reliability
samcamwilliams Feb 12, 2025
e1e91d9
fix: hashpath should never be in the message directly
samcamwilliams Feb 12, 2025
5ec0eaa
fix: empty map storage with fs
samcamwilliams Feb 12, 2025
9b9e0e2
Merge branch 'main' into tillathehun0/hp-sig-param
samcamwilliams Feb 12, 2025
84684f8
Merge pull request #128 from permaweb/tillathehun0/hp-sig-param
samcamwilliams Feb 12, 2025
342aa70
WIP on chore/rocks-merge
samcamwilliams Feb 12, 2025
a06a3de
chore: merge Oleg's mem fixes
samcamwilliams Feb 12, 2025
76212cb
Merge pull request #130 from permaweb/chore/rocks-merge
samcamwilliams Feb 12, 2025
e2da11e
fix(native): resolve type mismatches and pointer issues in hb_wasm.c
NickJ202 Feb 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,20 @@ rebar3.crashdump
*~

*.json
node_modules
!.vscode/*

*.bin
!.vscode/*
.vscode/c_cpp_properties.json

native/hb_beamr/*.o
native/hb_beamr/*.d

c_src/*.o
c_src/*.d
priv/*
.DS_STORE
TEST-data*
test-cache/*
TEST-cache-**
TEST-cache**/**

.githooks/_/.setup
diagram.dot
diagram.svg
main-cache/
4 changes: 0 additions & 4 deletions .gitpod.Dockerfile

This file was deleted.

16 changes: 0 additions & 16 deletions .gitpod.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"editor.detectIndentation": false,
"editor.insertSpaces": false,
"editor.tabSize": 4
}
}
39 changes: 0 additions & 39 deletions DEPLOY-notes.md

This file was deleted.

35 changes: 35 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
FROM --platform=linux/amd64 ubuntu:22.04

RUN apt-get update && apt-get install -y \
build-essential \
cmake \
git \
pkg-config \
ncurses-dev \
libssl-dev \
sudo

RUN git clone https://github.com/erlang/otp.git && \
cd otp && \
git checkout maint-27 && \
./configure && \
make -j16 && \
sudo make install

RUN git clone https://github.com/erlang/rebar3.git && \
cd rebar3 && \
./bootstrap && \
sudo mv rebar3 /usr/local/bin/

RUN git clone https://github.com/rust-lang/rust.git && \
cd rust && \
./configure && \
make && \
sudo make install

COPY . /app

RUN cd /app && \
rebar3 compile

CMD ["/bin/bash"]
125 changes: 0 additions & 125 deletions GCP-notes.md

This file was deleted.

25 changes: 12 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
compile:
rebar3 compile

WAMR_VERSION = 2.1.2
WAMR_VERSION = 2.2.0
WAMR_DIR = _build/wamr

# commented out to remove NFR blocking commits
# GITHOOKS_DIR = .githooks

ifdef HB_DEBUG
WAMR_FLAGS = -DWAMR_ENABLE_LOG=1 -DWAMR_BUILD_DUMP_CALL_STACK=1 -DCMAKE_BUILD_TYPE=Debug
else
Expand All @@ -30,8 +27,6 @@ else
WAMR_BUILD_TARGET = X86_64
endif

# githooks: $(GITHOOKS_DIR)/_/setup

wamr: $(WAMR_DIR)/lib/libvmlib.a

debug: debug-clean $(WAMR_DIR)
Expand All @@ -51,25 +46,29 @@ $(WAMR_DIR):
--single-branch

$(WAMR_DIR)/lib/libvmlib.a: $(WAMR_DIR)
sed -i '742a tbl_inst->is_table64 = 1;' ./_build/wamr/core/iwasm/aot/aot_runtime.c; \
cmake \
$(WAMR_FLAGS) \
-S $(WAMR_DIR) \
-B $(WAMR_DIR)/lib \
-DWAMR_BUILD_TARGET=$(WAMR_BUILD_TARGET) \
-DWAMR_BUILD_PLATFORM=$(WAMR_BUILD_PLATFORM) \
-DWAMR_BUILD_LIBC_WASI=0 \
-DWAMR_BUILD_MEMORY64=1 \
-DWAMR_DISABLE_HW_BOUND_CHECK=1 \
-DWAMR_BUILD_EXCE_HANDLING=1 \
-DWAMR_BUILD_SHARED_MEMORY=0 \
-DWAMR_BUILD_AOT=0 \
-DWAMR_BUILD_AOT=1 \
-DWAMR_BUILD_LIBC_WASI=0 \
-DWAMR_BUILD_FAST_INTERP=0 \
-DWAMR_BUILD_INTERP=1 \
-DWAMR_BUILD_JIT=0
make -C $(WAMR_DIR)/lib

# $(GITHOOKS_DIR)/_/setup:
# @sh ./$(GITHOOKS_DIR)/_/install.sh
-DWAMR_BUILD_JIT=0 \
-DWAMR_BUILD_FAST_JIT=0 \
-DWAMR_BUILD_DEBUG_AOT=1 \
-DWAMR_BUILD_TAIL_CALL=1 \
-DWAMR_BUILD_AOT_STACK_FRAME=1 \
-DWAMR_BUILD_MEMORY_PROFILING=1 \
-DWAMR_BUILD_DUMP_CALL_STACK=1
make -C $(WAMR_DIR)/lib -j8

clean:
rebar3 clean
Expand Down
Loading