Skip to content

Commit

Permalink
malarkey
Browse files Browse the repository at this point in the history
  • Loading branch information
decahedron1 committed Aug 12, 2024
1 parent 59a6e9b commit 8321316
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ jobs:
args: "-t --coreml -A aarch64 --xnnpack"
static: true
feature-set: train
runs-on: macos-14
runs-on: macos-13
- target: x86_64-apple-darwin
args: "-t --coreml --xnnpack"
static: true
feature-set: train
runs-on: macos-14
runs-on: macos-13
- target: x86_64-pc-windows-msvc
args: "-t --directml --cuda --trt --xnnpack"
static: false
Expand Down Expand Up @@ -113,12 +113,12 @@ jobs:
args: "--coreml -A aarch64 --xnnpack"
static: true
feature-set: none
runs-on: macos-14
runs-on: macos-13
- target: x86_64-apple-darwin
args: "--coreml --xnnpack"
static: true
feature-set: none
runs-on: macos-14
runs-on: macos-13
- target: x86_64-pc-windows-msvc
args: "--directml --cuda --trt --xnnpack"
static: false
Expand Down
22 changes: 22 additions & 0 deletions src/patches/wasm/0009-temporary-garbage.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From 0000000000000000000000000000000000000000 Mon Dec 21 00:00:00 2000
Date: Mon, 21 Dec 2000 00:00:00 -0600
Subject: Missing macros

diff --git a/onnxruntime/core/mlas/lib/q4_dq.cpp b/onnxruntime/core/mlas/lib/q4_dq.cpp
index 015d69de68..35af58fcf9 100644
--- a/onnxruntime/core/mlas/lib/q4_dq.cpp
+++ b/onnxruntime/core/mlas/lib/q4_dq.cpp
@@ -20,6 +20,13 @@ Abstract:

#include "q4common.h"

+#ifndef ORT_ENFORCE
+#define ORT_ENFORCE(a, b)
+#endif
+#ifndef ORT_THROW
+#define ORT_THROW(a)
+#endif
+
template<typename T>
constexpr
size_t

0 comments on commit 8321316

Please sign in to comment.