|
110 | 110 | "inherits": ["common"], |
111 | 111 | "cacheVariables": { |
112 | 112 | "EXECUTORCH_BUILD_PRESET_FILE": "${sourceDir}/tools/cmake/preset/pybind.cmake", |
113 | | - "CMAKE_OSX_DEPLOYMENT_TARGET": "12.0" |
| 113 | + "CMAKE_OSX_DEPLOYMENT_TARGET": "14.0" |
114 | 114 | }, |
115 | 115 | "condition": { |
116 | 116 | "type": "inList", |
|
310 | 310 | "EXECUTORCH_BUILD_PRESET_FILE": "${sourceDir}/tools/cmake/preset/arm_ethosu_linux.cmake", |
311 | 311 | "CMAKE_TOOLCHAIN_FILE": "${sourceDir}/examples/arm/ethos-u-setup/aarch64-linux-musl-toolchain.cmake" |
312 | 312 | } |
| 313 | + }, |
| 314 | + { |
| 315 | + "name": "mlx", |
| 316 | + "displayName": "Build MLX delegate", |
| 317 | + "inherits": ["common"], |
| 318 | + "cacheVariables": { |
| 319 | + "EXECUTORCH_BUILD_PRESET_FILE": "${sourceDir}/tools/cmake/preset/mlx.cmake", |
| 320 | + "EXECUTORCH_ENABLE_LOGGING": "ON", |
| 321 | + "CMAKE_OSX_DEPLOYMENT_TARGET": "14.0" |
| 322 | + }, |
| 323 | + "condition": { |
| 324 | + "lhs": "${hostSystemName}", |
| 325 | + "type": "equals", |
| 326 | + "rhs": "Darwin" |
| 327 | + } |
| 328 | + }, |
| 329 | + { |
| 330 | + "name": "mlx-release", |
| 331 | + "displayName": "MLX delegate release build", |
| 332 | + "inherits": ["mlx"], |
| 333 | + "cacheVariables": { |
| 334 | + "CMAKE_BUILD_TYPE": "Release", |
| 335 | + "CMAKE_INSTALL_PREFIX": "${sourceDir}/cmake-out", |
| 336 | + "ET_MLX_ENABLE_OP_LOGGING": "OFF", |
| 337 | + "ET_MIN_LOG_LEVEL": "Error" |
| 338 | + } |
| 339 | + }, |
| 340 | + { |
| 341 | + "name": "mlx-debug", |
| 342 | + "displayName": "MLX delegate debug build with op logging", |
| 343 | + "inherits": ["mlx"], |
| 344 | + "cacheVariables": { |
| 345 | + "CMAKE_BUILD_TYPE": "Debug", |
| 346 | + "CMAKE_INSTALL_PREFIX": "${sourceDir}/cmake-out", |
| 347 | + "ET_MLX_ENABLE_OP_LOGGING": "ON", |
| 348 | + "ET_MIN_LOG_LEVEL": "Debug" |
| 349 | + } |
313 | 350 | } |
314 | 351 | ], |
315 | 352 | "buildPresets": [ |
|
387 | 424 | "install" |
388 | 425 | ], |
389 | 426 | "jobs": 0 |
| 427 | + }, |
| 428 | + { |
| 429 | + "name": "mlx-release-install", |
| 430 | + "displayName": "Build and install MLX delegate release artifacts", |
| 431 | + "configurePreset": "mlx-release", |
| 432 | + "targets": [ |
| 433 | + "install" |
| 434 | + ], |
| 435 | + "jobs": 0 |
| 436 | + }, |
| 437 | + { |
| 438 | + "name": "mlx-debug-install", |
| 439 | + "displayName": "Build and install MLX delegate debug artifacts", |
| 440 | + "configurePreset": "mlx-debug", |
| 441 | + "targets": [ |
| 442 | + "install" |
| 443 | + ], |
| 444 | + "jobs": 0 |
390 | 445 | } |
391 | 446 | ], |
392 | 447 | "workflowPresets": [ |
|
501 | 556 | "name": "llm-metal-stats-install" |
502 | 557 | } |
503 | 558 | ] |
| 559 | + }, |
| 560 | + { |
| 561 | + "name": "mlx-release", |
| 562 | + "displayName": "Configure, build and install ExecuTorch MLX delegate", |
| 563 | + "steps": [ |
| 564 | + { |
| 565 | + "type": "configure", |
| 566 | + "name": "mlx-release" |
| 567 | + }, |
| 568 | + { |
| 569 | + "type": "build", |
| 570 | + "name": "mlx-release-install" |
| 571 | + } |
| 572 | + ] |
| 573 | + }, |
| 574 | + { |
| 575 | + "name": "mlx-debug", |
| 576 | + "displayName": "Configure, build and install ExecuTorch MLX delegate with op logging (Debug)", |
| 577 | + "steps": [ |
| 578 | + { |
| 579 | + "type": "configure", |
| 580 | + "name": "mlx-debug" |
| 581 | + }, |
| 582 | + { |
| 583 | + "type": "build", |
| 584 | + "name": "mlx-debug-install" |
| 585 | + } |
| 586 | + ] |
504 | 587 | } |
505 | 588 | ] |
506 | 589 | } |
0 commit comments