Sunday, September 11, 2022
HomeWordPress DevelopmentHow you can construct Reduct Storage on MacOs

How you can construct Reduct Storage on MacOs


Hey all, we will add assist of macOS within the subsequent launch (0.9) of the storage engine. Nevertheless, it is best to be capable of construct it from sources:

# set up construct instruments
brew set up gcc@11 python cmake
pip set up conan

# construct
mkdir construct && cd construct
CC=gcc-11 CXX=g++-11 cmake -DCMAKE_BUILD_TYPE=Launch ..
cmake --build . -- -j

# run
RS_DATA_PATH=./knowledge bin/reduct-storage
Enter fullscreen mode

Exit fullscreen mode

We use the newest C++20 options like coroutines, which clang would not assist but. What’s why it is best to set up GCC-11 and use the CC=gcc-11 and CXX=g++-11 variables for cmake.

Furthermore, you have to be affected person, official conan repository would not have binaries for macOS with GCC and conan builds it domestically in your machine.

I hope it was useful, thanks!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments