Chapter 2.5 : The compilation



Then we can compile :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$ make
-- Configuring done
-- Generating done
-- Build files have been written to: ExampleOptimisation/build
[ 11%] Built target hadamard_product_O2
[ 23%] Built target hadamard_product_O1
[ 35%] Built target hadamard_product_vectorize
[ 47%] Built target hadamard_product_O0
[ 58%] Built target hadamard_product_O3
[ 70%] Built target hadamard_product_Ofast
[ 82%] Built target hadamard_product_intrinsics
Scanning dependencies of target asterics_hpc
[ 88%] Building CXX object AstericsHPC/CMakeFiles/asterics_hpc.dir/asterics_alloc.cpp.o
[ 94%] Building CXX object AstericsHPC/CMakeFiles/asterics_hpc.dir/timer.cpp.o
[100%] Linking CXX shared library libasterics_hpc.so
[100%] Built target asterics_hpc


Now, we have a library to allocate/deallocate data and to time functions.