Chapter 10.3 : Compilation



Appelons notre script de compilation :

./singularity_run_fedora38.sh

Used machine is Linux pierre-Precision-7670 5.19.0-45-generic #46~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 7 15:06:04 UTC 20 x86_64 x86_64 x86_64 GNU/Linux

Remove existing directory XXX/TestRangeViewChunk/build_cmake_pierre-Precision-7670

BUILD_DIR = 'XXX/TestRangeViewChunk/build_cmake_pierre-Precision-7670'

-- The C compiler identification is GNU 13.1.1

-- The CXX compiler identification is GNU 13.1.1

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working C compiler: /usr/bin/gcc - skipped

-- Detecting C compile features

-- Detecting C compile features - done

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Check for working CXX compiler: /usr/bin/g++ - skipped

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Configuring done (1.2s)

-- Generating done (0.0s)

-- Build files have been written to: /build

[ 50%] Building CXX object CMakeFiles/test_chunk.dir/main.cpp.o

[100%] Linking CXX executable test_chunk

[100%] Built target test_chunk

Test with chunk :

a.front() = 0

a.front() = 5

a.front() = 10



Voilà, notre test fonctionne.