Hello
Just to close the topic, I was able to build and install (even with cmake 4.0.1
)
then
brew install --cask miniconda
conda create -n root-env python=3.12 numpy
brew install xrootd glew freetype pcre lz4 zstd libpng jpeg tbb xxhash giflib libtiff openssl sqlite
git clone https://github.com/root-project/root.git
mkdir build && cd build
cmake ../root -DCMAKE_INSTALL_PREFIX=$HOME/root-install -DCMAKE_BUILD_TYPE=Release -Droofit=ON -Dtmva=ON -Dtmva-pymva=ON -Dbuiltin_glew=ON -Dxrootd=ON -DXROOTD_INCLUDE_DIR="/opt/homebrew/include" -DXROOTD_CLIENT_LIBRARIES="/opt/homebrew/lib/libXrdClient.dylib" -DXROOTD_UTILS_LIBRARIES="/opt/homebrew/lib/libXrdUtils.dylib" -Dnetx=OFF -DPython3_EXECUTABLE=$(which python3) -DCMAKE_OSX_SYSROOT=$(xcrun --show-sdk-path) -DCMAKE_PREFIX_PATH="$(brew --prefix)" -DNCURSES_INCLUDE_PATH="$(xcrun --show-sdk-path)/usr/include" -DNCURSES_LIBRARIES="$(xcrun --show-sdk-path)/usr/lib/libncurses.tbd"
cmake --build . -- -j8
cmake --install .
Take note that I had eventually to dectivate xroot option as compilation was failing due to that, but I dont really need it for my local root installation.
Regards
-a