From c2f15f614b064380873d97059a1688cce8307e32 Mon Sep 17 00:00:00 2001 From: bennibbelink <79653949+bennibbelink@users.noreply.github.com> Date: Wed, 2 Oct 2024 18:24:39 -0400 Subject: [PATCH] add notes about --slow flag and apple silicon --- INSTALL.rst | 15 ++++++++++++++- install.py | 5 +++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/INSTALL.rst b/INSTALL.rst index 818f4108cf..9efca3d849 100644 --- a/INSTALL.rst +++ b/INSTALL.rst @@ -116,8 +116,21 @@ flags: - the cmake prefix path for use with FIND_PACKAGE, FIND_PATH, FIND_PROGRAM, or FIND_LIBRARY macros * - ``--build-type BUILD_TYPE`` - - change the CMAKE_BUILD_TYPE + - change the CMAKE_BUILD_TYPE + * - ``--data-model-version`` + - sets the data model version number + + * - ``--code_coverage`` + - Enable code coverage analysis using gcov/lcov + + * - ``--fast`` + - Will try to compile from assembly, if possible (default). This is faster than compiling from source. + + * - ``--slow`` + - Will NOT try to compile from assembly, if possible. This is slower as it must compile from source. + **This is required to build on Apple Silicon** + * - ``-D VAR`` - set environment variable(s). diff --git a/install.py b/install.py index 85f248e12b..72fef4c186 100644 --- a/install.py +++ b/install.py @@ -192,7 +192,7 @@ def main(): default='Release') parser.add_argument('--data-model-version', dest='data_model_version', default=None, - help='Sets the core version number.') + help='Sets the data model version number.') parser.add_argument('-D', metavar='VAR', action='append', help='Set enviornment variable(s).') @@ -210,7 +210,8 @@ def main(): parser.add_argument('--slow', dest='fast', action='store_false', help="Will NOT try to compile " "from assembly, if possible. This is slower as it " - "must compile from source.") + "must compile from source. **This is required to " + "build on Apple Silicon**") args = parser.parse_args() # modify roots as needed