-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial work to handle components not in XML format
- Loading branch information
karurochari
committed
Nov 28, 2024
1 parent
763ec86
commit 4fdb809
Showing
7 changed files
with
79 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,28 @@ | ||
Order of search for component when the direct `fullname` is not found. `name` is `fullname` reduced of its last extension. | ||
|
||
First attempt is to look for the exact name: | ||
|
||
- `fullname` | ||
|
||
If it fails, check for any the following in such order: | ||
|
||
- `name.vs` | ||
- `name.xml` | ||
- `name.wasm` | ||
- `name.so` | `name.dll` | `name.dylib` | ||
- `name.c` | ||
|
||
If it fails and the folder `name` exists, check for these ones: | ||
|
||
- `name/main.vs` | ||
- `name/main.xml` | ||
- `name/main.wasm` | ||
- `name/main.so` | `name/main.dll` | `name/main.dylib` | ||
- `name/main.c` | ||
|
||
## Loading pipelines | ||
|
||
- `.vs` & `.xml` files are either loaded directly, or after being compiled from `vs.templ`. | ||
- `.wasm` files are handled as wasm components by wamr | ||
- `.so` & al. are loaded as native components | ||
- `.c` are compiled by tcc into native components and loaded as such |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#include <iostream> | ||
#include <utils/paths.hpp> | ||
|
||
namespace vs{ | ||
|