forked from intel/x86-simd-sort
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
26 lines (20 loc) · 786 Bytes
/
Makefile
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
test:
meson setup -Dbuild_tests=true -Duse_openmp=false --warnlevel 2 --werror --buildtype release builddir
cd builddir && ninja
test_openmp:
meson setup -Dbuild_tests=true -Duse_openmp=true --warnlevel 2 --werror --buildtype release builddir
cd builddir && ninja
bench:
meson setup -Dbuild_benchmarks=true --warnlevel 2 --werror --buildtype release builddir
cd builddir && ninja
debug:
meson setup -Dbuild_tests=true --warnlevel 2 --werror --buildtype debug debug
cd debug && ninja
sharedlib:
meson setup --warnlevel 2 --werror --buildtype release builddir
cd builddir && ninja
install:
meson setup --warnlevel 2 --werror --buildtype release builddir
cd builddir && meson install
clean:
$(RM) -rf $(TESTOBJS) $(BENCHOBJS) $(UTILOBJS) testexe benchexe builddir debug