From 184c686c7e939fc0e9110f49a75b4b2c9d1249b6 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sat, 24 Apr 2021 21:13:40 +0100 Subject: [PATCH] Add clang-11 for Linux; blank out threading_example on darwin --- .github/workflows/ci.yml | 2 +- examples/demo/demo.odin | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7acf1e9f..dd0376d96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: Download LLVM - run: sudo apt-get install llvm-11 + run: sudo apt-get install llvm-11 clang-11 - name: build odin run: make release - name: Odin run diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin index 7119dc432..6817b15a4 100644 --- a/examples/demo/demo.odin +++ b/examples/demo/demo.odin @@ -1109,6 +1109,11 @@ prefix_table := [?]string{ }; threading_example :: proc() { + if ODIN_OS == "darwin" { + // TODO: Fix threads on darwin/macOS + return; + } + fmt.println("\n# threading_example"); { // Basic Threads