File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 2222 matrix :
2323 # runner: [ubuntu-22.04, macos-latest]
2424 runner : [ubuntu-22.04]
25+ # runner: [macos-latest]
2526 permissions :
2627 contents : read
2728 checks : write
@@ -148,13 +149,9 @@ jobs:
148149 - name : Build nano-gpt example
149150 run : cargo build
150151 working-directory : examples/nano-gpt
151- env :
152- EXECUTORCH_RS_LINK : 0
153152 - name : Build llama3 example
154153 run : cargo build
155154 working-directory : examples/llama3
156- env :
157- EXECUTORCH_RS_LINK : 0
158155
159156 # check:
160157 # runs-on: ${{ matrix.runner }}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ fn main() {
44 . expect ( "EXECUTORCH_RS_EXECUTORCH_LIB_DIR is not set, can't locate executorch static libs" ) ;
55
66 println ! ( "cargo::rustc-link-search=native={libs_dir}/kernels/portable/" ) ;
7- println ! ( "cargo::rustc-link-lib=static=portable_kernels" ) ;
7+ println ! ( "cargo::rustc-link-lib=static:+whole-archive =portable_kernels" ) ;
88
99 println ! ( "cargo::rustc-link-search=native={libs_dir}/configurations/" ) ;
1010 println ! ( "cargo::rustc-link-lib=static:+whole-archive=optimized_native_cpu_ops_lib" ) ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ fn main() {
44 . expect ( "EXECUTORCH_RS_EXECUTORCH_LIB_DIR is not set, can't locate executorch static libs" ) ;
55
66 println ! ( "cargo::rustc-link-search=native={libs_dir}/kernels/portable/" ) ;
7- println ! ( "cargo::rustc-link-lib=static=portable_kernels" ) ;
7+ println ! ( "cargo::rustc-link-lib=static:+whole-archive =portable_kernels" ) ;
88
99 println ! ( "cargo::rustc-link-search=native={libs_dir}/configurations/" ) ;
1010 println ! ( "cargo::rustc-link-lib=static:+whole-archive=optimized_native_cpu_ops_lib" ) ;
You can’t perform that action at this time.
0 commit comments