mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Add clang-11 for Linux; blank out threading_example on darwin
This commit is contained in:
@@ -7,7 +7,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Download LLVM
|
- name: Download LLVM
|
||||||
run: sudo apt-get install llvm-11
|
run: sudo apt-get install llvm-11 clang-11
|
||||||
- name: build odin
|
- name: build odin
|
||||||
run: make release
|
run: make release
|
||||||
- name: Odin run
|
- name: Odin run
|
||||||
|
|||||||
@@ -1109,6 +1109,11 @@ prefix_table := [?]string{
|
|||||||
};
|
};
|
||||||
|
|
||||||
threading_example :: proc() {
|
threading_example :: proc() {
|
||||||
|
if ODIN_OS == "darwin" {
|
||||||
|
// TODO: Fix threads on darwin/macOS
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
fmt.println("\n# threading_example");
|
fmt.println("\n# threading_example");
|
||||||
|
|
||||||
{ // Basic Threads
|
{ // Basic Threads
|
||||||
|
|||||||
Reference in New Issue
Block a user