<commit_before>setlocal EnableDelayedExpansion

mkdir build
cd build

:: Hardcoded USER_VERSION is bad. Can't get previously un-defined
:: env var that is defined in build.script_env to pass through. 
:: How to do this?
:: USER_VERSION is used to hardcode version in built executables.
:: It is typically unnecessary because CMake configure-time uses
:: git ops to discover tag or commit SHA, both of which are not 
:: available since packages are built from tarballs.
cmake .. -GNinja -DCMAKE_BUILD_TYPE:STRING=Release ^
    -DCMAKE_INSTALL_PREFIX:PATH="%LIBRARY_PREFIX%" ^
    -DCMAKE_PREFIX_PATH:PATH="%LIBRARY_PREFIX%" ^
    -DCONDA_PREFIX:PATH="%CONDA_PREFIX%" ^
    -DUSER_VERSION:STRING=v1.0.2

if errorlevel 1 exit /b 1

ninja install<commit_msg>Update recipes/tip/bld.bat<commit_after>setlocal EnableDelayedExpansion

mkdir build
cd build

:: USER_VERSION is used to hardcode version in built executables.
:: It is typically unnecessary because CMake configure-time uses
:: git ops to discover tag or commit SHA, both of which are not 
:: available since packages are built from tarballs.
cmake .. -GNinja -DCMAKE_BUILD_TYPE:STRING=Release ^
    -DCMAKE_INSTALL_PREFIX:PATH="%LIBRARY_PREFIX%" ^
    -DCMAKE_PREFIX_PATH:PATH="%LIBRARY_PREFIX%" ^
    -DCONDA_PREFIX:PATH="%CONDA_PREFIX%" ^
    -DUSER_VERSION:STRING="v%PKG_VERSION%"

if errorlevel 1 exit /b 1

ninja install
{'fraction_non_alphanumeric': 0.08761766835626358, 'fraction_numerical': 0.005068790731354091, 'mean_word_length': 4.8808510638297875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6570083', 'n_tokens_mistral': 460, 'n_tokens_neox': 424, 'n_words': 138}