rtosholdings / riptable

64bit multithreaded python data analytics tools for numpy arrays and datasets
https://riptable.readthedocs.io/en/stable/
Other
373 stars 22 forks source link

cmake unknown warning options #350

Open jjbrosnan opened 1 year ago

jjbrosnan commented 1 year ago

Trying to install riptable via pip via the instructions pip install riptable. I ran into a whole slew of errors trying to install it, likely due to missing pre-requisites on my end. Now that I installed all of them, I have a new error.

[  3%] Building CXX object src/CMakeFiles/riptide_cpp.dir/Array.cpp.o
      cd /private/var/folders/fm/8jvy2kx54lj38v2y_gbqg0bh0000gn/T/pip-install-e6oeqbp5/riptide-cpp_f1dd44a94dcc45918f6016e544435092/build/temp.macosx-10.9-x86_64-cpython-39/src && /Library/Developer/CommandLineTools/usr/bin/c++ -DBUILDING_RIPTIDE_CPP -Driptide_cpp_EXPORTS -I/private/var/folders/fm/8jvy2kx54lj38v2y_gbqg0bh0000gn/T/pip-build-env-976but5d/overlay/lib/python3.9/site-packages/numpy/core/include -isystem /Users/john.brosnan/miniconda3/include/python3.9 -isystem /usr/local/include -O3 -DNDEBUG -std=c++17 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk -fPIC -F/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks  -O2 -ggdb -x c++ -mavx2 -mbmi2 -fpermissive -pthread -falign-functions=32 -fno-strict-aliasing -Wall -Werror -Wno-error=cast-qual -Wno-error=double-promotion -Wno-error=duplicated-branches -Wno-error=old-style-cast -Wno-error=redundant-decls -Wno-error=unused-but-set-parameter -Wno-error=useless-cast -Wno-error=zero-as-null-pointer-constant -Wno-format -Wno-ignored-attributes -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-duplicated-branches -Wno-useless-cast -Wno-old-style-cast -MD -MT src/CMakeFiles/riptide_cpp.dir/Array.cpp.o -MF CMakeFiles/riptide_cpp.dir/Array.cpp.o.d -o CMakeFiles/riptide_cpp.dir/Array.cpp.o -c /private/var/folders/fm/8jvy2kx54lj38v2y_gbqg0bh0000gn/T/pip-install-e6oeqbp5/riptide-cpp_f1dd44a94dcc45918f6016e544435092/src/Array.cpp
      error: unknown warning option '-Werror=duplicated-branches' [-Werror,-Wunknown-warning-option]
      error: unknown warning option '-Werror=useless-cast' [-Werror,-Wunknown-warning-option]
      error: unknown warning option '-Wno-duplicated-branches' [-Werror,-Wunknown-warning-option]
      error: unknown warning option '-Wno-useless-cast' [-Werror,-Wunknown-warning-option]
      gmake[2]: *** [src/CMakeFiles/riptide_cpp.dir/build.make:79: src/CMakeFiles/riptide_cpp.dir/Array.cpp.o] Error 1

I can't figure out a solution for this.

I'm on Mac OS X 12.3.1

OrestZborowski-SIG commented 1 year ago

Unfortunately, we don't support MacOS at this time, only Linux and Windows.