1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-15 03:35:46 +00:00

Fix c++20 job

This commit is contained in:
Carles Fernandez 2019-09-25 00:02:16 +02:00
parent 6f4634cbf7
commit 0e11e0553f
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -141,9 +141,7 @@ c++20:
- zypper -n install cmake git gcc-c++ gcc-fortran ninja boost-devel libboost_atomic-devel libboost_filesystem-devel libboost_system-devel libboost_date_time-devel libboost_thread-devel libboost_regex-devel libboost_serialization-devel libboost_program_options-devel libboost_math-devel libboost_numpy-devel libboost_chrono-devel libboost_python3-devel libboost_test-devel libboost_headers-devel libboost_test-devel libboost_random-devel libboost_numpy3-devel libboost_graph-devel python3-PyYAML python3 python3-qt5 python3-lxml log4cpp-devel libpcap-devel libtool automake hdf5-devel libopenssl-devel python3-Mako python3-six protobuf-devel gmp-devel python3-gmpy fftw3-devel python3-pyFFTW llvm-clang blas-devel lapack-devel
- mkdir gnuradio && cd gnuradio
- git clone --recursive https://github.com/gnuradio/gnuradio
- cd gnuradio
- sed -i '43d' gnuradio-runtime/include/gnuradio/basic_block.h && sed -i '41d' gnuradio-runtime/include/gnuradio/basic_block.h
- mkdir build && cd build
- cd gnuradio && mkdir build && cd build
- NPROC=$(grep -c ^processor /proc/cpuinfo)
- cmake -DENABLE_DEFAULT=OFF -DENABLE_GNURADIO_RUNTIME=ON -DENABLE_VOLK=ON -DENABLE_GR_BLOCKS=ON -DENABLE_GR_ANALOG=ON -DENABLE_GR_FFT=ON -DENABLE_GR_FILTER=ON ..
- make -j$(($NPROC+1))