Skip to content

Commit 9a19e74

Browse files
committed
adding in arm cross-compile example
1 parent 2b43229 commit 9a19e74

File tree

6 files changed

+15
-1
lines changed

6 files changed

+15
-1
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

c/03-arm/README.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
This is a simple hello world example to cross-compile for arm on x86.
2+
3+
```
4+
aarch64-linux-gnu-gcc main.c -static -o arm
5+
```
6+
7+
```
8+
ops run arm --arch=arm64
9+
```

c/03-arm/main.c

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include <stdio.h>
2+
3+
int main() {
4+
printf("test\n");
5+
}

php/04-laravel/config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"BaseVolumeSz": "150m",
3-
"Dirs": ["app", "bootstrap", "config", "database", "lang", "public", "resources", "routes", "storage", "tests", "vendor"],
3+
"Dirs": ["app", "bootstrap", "config", "database", "public", "resources", "routes", "storage", "tests", "vendor"],
44
"Files": [".env", "artisan", "composer.json", "composer.lock", "package.json", "phpunit.xml", "vite.config.js"],
55
"Args": ["-S", "0.0.0.0:8000", "public/index.php"]
66
}

0 commit comments

Comments
 (0)