blob: 7ebd2caf80d34a6437dbca9a858c6ddfa9cc16cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/bin/bash
cp volk_config.h include/volk/
cd lib
case $1 in
(x86)
case $2 in
(x86_64)
gcc -o volk_mktables -I../include -I. volk_cpu_x86.c cpuid_x86_64.S volk_rank_archs.c volk_mktables.c
./volk_mktables
;;
(*)
gcc -o volk_mktables -I../include -I. volk_cpu_x86.c cpuid_x86.S volk_rank_archs.c volk_mktables.c
./volk_mktables
;;
esac
;;
(powerpc)
gcc -o volk_mktables -I../include -I. volk_cpu_powerpc.c volk_rank_archs.c volk_mktables.c
./volk_mktables
;;
(*)
gcc -o volk_mktables -I../include -I. volk_cpu_generic.c volk_rank_archs.c volk_mktables.c
./volk_mktables
;;
esac
mv volk_tables.h ../include/volk/
|