File tree 3 files changed +30
-6
lines changed
3 files changed +30
-6
lines changed Original file line number Diff line number Diff line change @@ -147,9 +147,13 @@ jobs:
147
147
files : " edgetpu_runtime_*.tar.gz"
148
148
149
149
build_macos :
150
- runs-on : macos-11
150
+ runs-on : macos-14
151
151
env :
152
152
USE_BAZEL_VERSION : " 6.0.0"
153
+ TF_NEED_HDFS : " 0"
154
+ TF_NEED_CUDA : " 0"
155
+ TF_NEED_ROCM : " 0"
156
+ TF_NEED_MKL : " 0"
153
157
strategy :
154
158
fail-fast : false
155
159
matrix :
@@ -160,16 +164,29 @@ jobs:
160
164
triplet : " x86_64-apple-darwin"
161
165
162
166
steps :
163
- - uses : actions/checkout@v4
167
+ - name : Checkout
168
+ uses : actions/checkout@v4
164
169
165
170
- name : Install dependencies
166
171
run : |
167
172
brew install libusb
168
- pip3 install numpy disutils
173
+ python3 -m venv edgetpu
174
+ source edgetpu/bin/activate
175
+ python3 -m pip install numpy disutils
176
+
177
+ - name : Fix macOS
178
+ run : |
179
+ bazel clean --expunge
180
+ sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
181
+ sudo xcodebuild -license accept
182
+ xcode-select -p
183
+ bazel clean --expunge
184
+ bazel shutdown
169
185
170
186
- name : Compile
171
187
run : |
172
188
export PYTHON_BIN_PATH="$(which python3)"
189
+ source edgetpu/bin/activate
173
190
CPU="${{ matrix.pair.cpu }}" make
174
191
175
192
- name : codesign
Original file line number Diff line number Diff line change @@ -99,6 +99,13 @@ tf_workspace0()
99
99
load ("@coral_crosstool//:configure.bzl" , "cc_crosstool" )
100
100
cc_crosstool (name = "crosstool" , cpp_version = "c++14" )
101
101
102
+ load (
103
+ "@local_tsl//third_party/gpus/cuda/hermetic:cuda_configure.bzl" ,
104
+ "cuda_configure" ,
105
+ )
106
+
107
+ cuda_configure (name = "local_config_cuda" )
108
+
102
109
BAZEL_ZIG_CC_VERSION = "1.0.3"
103
110
load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
104
111
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ This module contains workspace definitions for building and using libedgetpu.
5
5
load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
6
6
load ("@bazel_tools//tools/build_defs/repo:utils.bzl" , "maybe" )
7
7
8
- # TF release 2.16.1 as of Mar 8 , 2024
8
+ # TF release 2.18.0 as of Oct 25 , 2024
9
9
#
10
10
# TENSORFLOW_SHA256=$(curl -fSL "https://github.com/tensorflow/tensorflow/archive/${TENSORFLOW_COMMIT}.tar.gz" | sha256sum)
11
- TENSORFLOW_COMMIT = "5bc9d26649cca274750ad3625bd93422617eed4b "
12
- TENSORFLOW_SHA256 = "fe592915c85d1a89c20f3dd89db0772ee22a0fbda78e39aa46a778d638a96abc "
11
+ TENSORFLOW_COMMIT = "6550e4bd80223cdb8be6c3afd1f81e86a4d433c3 "
12
+ TENSORFLOW_SHA256 = "403916fbcfcbd5657cd891a871debc72433d7a8c56760297a79085e1abc8f18a "
13
13
14
14
CORAL_CROSSTOOL_COMMIT = "6bcc2261d9fc60dff386b557428d98917f0af491"
15
15
CORAL_CROSSTOOL_SHA256 = "38cb4da13009d07ebc2fed4a9d055b0f914191b344dd2d1ca5803096343958b4"
You can’t perform that action at this time.
0 commit comments