- -enableCodeCoverage NO CLANG_ENABLE_CODE_COVERAGE=NO
22
+CLANG_ENABLE_CODE_COVERAGE=NO
23
23
```
24
24
25
25
The executable is `.build/xcode/Build/Products/Release/rzb`. Keep it in that folder (or put the folder on your `PATH`): the MLX Metal library, `mlx-swift_Cmlx.bundle`, sits next to it and is loaded at run time.
@@ -60,7 +60,7 @@ The script never overwrites or removes an `rzb` launcher it did not write.
60
60
| Symptom | Fix |
61
61
| --- | --- |
62
62
| The build fails while compiling MLX's Metal shaders (the `metal` tool is missing) | Run `xcodebuild -downloadComponent MetalToolchain`. |
63
-| A `default.profraw` file appears in the folder where `rzb` ran | `rzb` was built without `-enableCodeCoverage NO CLANG_ENABLE_CODE_COVERAGE=NO`: the package scheme gathers test coverage and instruments the Release build too. Rebuild with the command above (or `scripts/install.sh`) and delete the file. |
63
+| A `default.profraw` file appears in the folder where `rzb` ran | `rzb` was built without `CLANG_ENABLE_CODE_COVERAGE=NO`: the package scheme gathers test coverage and instruments the Release build too. Rebuild with the command above (or `scripts/install.sh`) and delete the file. |
64
64
| `Failed to load the default metallib` when a model loads | `rzb` was built with `swift build`, or copied away from `mlx-swift_Cmlx.bundle`. Build with `xcodebuild` as above and run it from `Build/Products/Release`. |
- -enableCodeCoverage NO CLANG_ENABLE_CODE_COVERAGE=NO
22
+CLANG_ENABLE_CODE_COVERAGE=NO
23
```
23
```
24
24
25
The executable is `.build/xcode/Build/Products/Release/rzb`. Keep it in that folder (or put the folder on your `PATH`): the MLX Metal library, `mlx-swift_Cmlx.bundle`, sits next to it and is loaded at run time.
25
The executable is `.build/xcode/Build/Products/Release/rzb`. Keep it in that folder (or put the folder on your `PATH`): the MLX Metal library, `mlx-swift_Cmlx.bundle`, sits next to it and is loaded at run time.
@@ -60,7 +60,7 @@ The script never overwrites or removes an `rzb` launcher it did not write.
60
| Symptom | Fix |
60
| Symptom | Fix |
61
| --- | --- |
61
| --- | --- |
62
| The build fails while compiling MLX's Metal shaders (the `metal` tool is missing) | Run `xcodebuild -downloadComponent MetalToolchain`. |
62
| The build fails while compiling MLX's Metal shaders (the `metal` tool is missing) | Run `xcodebuild -downloadComponent MetalToolchain`. |
63
-| A `default.profraw` file appears in the folder where `rzb` ran | `rzb` was built without `-enableCodeCoverage NO CLANG_ENABLE_CODE_COVERAGE=NO`: the package scheme gathers test coverage and instruments the Release build too. Rebuild with the command above (or `scripts/install.sh`) and delete the file. |
63
+| A `default.profraw` file appears in the folder where `rzb` ran | `rzb` was built without `CLANG_ENABLE_CODE_COVERAGE=NO`: the package scheme gathers test coverage and instruments the Release build too. Rebuild with the command above (or `scripts/install.sh`) and delete the file. |
64
| `Failed to load the default metallib` when a model loads | `rzb` was built with `swift build`, or copied away from `mlx-swift_Cmlx.bundle`. Build with `xcodebuild` as above and run it from `Build/Products/Release`. |
64
| `Failed to load the default metallib` when a model loads | `rzb` was built with `swift build`, or copied away from `mlx-swift_Cmlx.bundle`. Build with `xcodebuild` as above and run it from `Build/Products/Release`. |
- -enableCodeCoverage NO CLANG_ENABLE_CODE_COVERAGE=NO
22
+CLANG_ENABLE_CODE_COVERAGE=NO
23
23
```
24
24
25
25
L'exécutable est `.build/xcode/Build/Products/Release/rzb`. Laissez-le dans ce dossier (ou ajoutez le dossier à votre `PATH`) : la bibliothèque Metal de MLX, `mlx-swift_Cmlx.bundle`, est à côté de lui et elle est chargée à l'exécution.
@@ -60,7 +60,7 @@ Le script n'écrase ni ne supprime jamais un lanceur `rzb` qu'il n'a pas écrit.
60
60
| Symptôme | Solution |
61
61
| --- | --- |
62
62
| La compilation échoue en compilant les shaders Metal de MLX (l'outil `metal` manque) | Lancez `xcodebuild -downloadComponent MetalToolchain`. |
63
-| Un fichier `default.profraw` apparaît dans le dossier où `rzb` a tourné | `rzb` a été compilé sans `-enableCodeCoverage NO CLANG_ENABLE_CODE_COVERAGE=NO` : le scheme du package mesure la couverture des tests et instrumente aussi la compilation Release. Recompilez avec la commande ci-dessus (ou `scripts/install.sh`) et supprimez le fichier. |
63
+| Un fichier `default.profraw` apparaît dans le dossier où `rzb` a tourné | `rzb` a été compilé sans `CLANG_ENABLE_CODE_COVERAGE=NO` : le scheme du package mesure la couverture des tests et instrumente aussi la compilation Release. Recompilez avec la commande ci-dessus (ou `scripts/install.sh`) et supprimez le fichier. |
64
64
| `Failed to load the default metallib` au chargement d'un modèle | `rzb` a été compilé avec `swift build`, ou copié loin de `mlx-swift_Cmlx.bundle`. Compilez avec `xcodebuild` comme ci-dessus et lancez-le depuis `Build/Products/Release`. |
- -enableCodeCoverage NO CLANG_ENABLE_CODE_COVERAGE=NO
22
+CLANG_ENABLE_CODE_COVERAGE=NO
23
```
23
```
24
24
25
L'exécutable est `.build/xcode/Build/Products/Release/rzb`. Laissez-le dans ce dossier (ou ajoutez le dossier à votre `PATH`) : la bibliothèque Metal de MLX, `mlx-swift_Cmlx.bundle`, est à côté de lui et elle est chargée à l'exécution.
25
L'exécutable est `.build/xcode/Build/Products/Release/rzb`. Laissez-le dans ce dossier (ou ajoutez le dossier à votre `PATH`) : la bibliothèque Metal de MLX, `mlx-swift_Cmlx.bundle`, est à côté de lui et elle est chargée à l'exécution.
@@ -60,7 +60,7 @@ Le script n'écrase ni ne supprime jamais un lanceur `rzb` qu'il n'a pas écrit.
60
| Symptôme | Solution |
60
| Symptôme | Solution |
61
| --- | --- |
61
| --- | --- |
62
| La compilation échoue en compilant les shaders Metal de MLX (l'outil `metal` manque) | Lancez `xcodebuild -downloadComponent MetalToolchain`. |
62
| La compilation échoue en compilant les shaders Metal de MLX (l'outil `metal` manque) | Lancez `xcodebuild -downloadComponent MetalToolchain`. |
63
-| Un fichier `default.profraw` apparaît dans le dossier où `rzb` a tourné | `rzb` a été compilé sans `-enableCodeCoverage NO CLANG_ENABLE_CODE_COVERAGE=NO` : le scheme du package mesure la couverture des tests et instrumente aussi la compilation Release. Recompilez avec la commande ci-dessus (ou `scripts/install.sh`) et supprimez le fichier. |
63
+| Un fichier `default.profraw` apparaît dans le dossier où `rzb` a tourné | `rzb` a été compilé sans `CLANG_ENABLE_CODE_COVERAGE=NO` : le scheme du package mesure la couverture des tests et instrumente aussi la compilation Release. Recompilez avec la commande ci-dessus (ou `scripts/install.sh`) et supprimez le fichier. |
64
| `Failed to load the default metallib` au chargement d'un modèle | `rzb` a été compilé avec `swift build`, ou copié loin de `mlx-swift_Cmlx.bundle`. Compilez avec `xcodebuild` comme ci-dessus et lancez-le depuis `Build/Products/Release`. |
64
| `Failed to load the default metallib` au chargement d'un modèle | `rzb` a été compilé avec `swift build`, ou copié loin de `mlx-swift_Cmlx.bundle`. Compilez avec `xcodebuild` comme ci-dessus et lancez-le depuis `Build/Products/Release`. |
65
65
66
## Voir aussi
66
## Voir aussi
modifiedscripts/install.sh+1-1
@@ -60,7 +60,7 @@ if [[ "$build" == true ]]; then
60
60
# Release build too: rzb would write default.profraw in the current folder at every exit.