Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
Bench: 1846877
  • Loading branch information
aronpetko committed Nov 1, 2024
1 parent 739b2b6 commit 61c92ad
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
30 changes: 19 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,29 @@ else
endif

debug:
@echo Building with debug...
@echo Building with debug
@$(MAKE) all BUILD_TYPE=BUILD_DEBUG

x86_64_popcnt:
@echo Building with x86-64 optimizations...
@$(MAKE) all BUILD_TYPE=BUILD_X86_64_POPCNT
vnni512:
@echo Building with BUILD_VNNI512
@$(MAKE) all BUILD_TYPE=BUILD_VNNI512

x86_64_modern:
@echo Building with x86-64 modern optimizations...
@$(MAKE) all BUILD_TYPE=BUILD_X86_64_MODERN
avx512:
@echo Building with BUILD_AVX512
@$(MAKE) all BUILD_TYPE=BUILD_AVX512

x86_64_bmi2:
@echo Building with x86-64 bmi2 optimizations...
@$(MAKE) all BUILD_TYPE=BUILD_X86_64_BMI2
avx2_bmi2:
@echo Building with BUILD_AVX2_BMI2
@$(MAKE) all BUILD_TYPE=BUILD_AVX2_BMI2

avx2:
@echo Building with BUILD_AVX2
@$(MAKE) all BUILD_TYPE=BUILD_AVX2

sse41_popcnt:
@echo Building with BUILD_SSE41_POPCNT
@$(MAKE) all BUILD_TYPE=BUILD_SSE41_POPCNT

native:
@echo Building with native optimizations...
@$(MAKE) all BUILD_TYPE=BUILD_NATIVE
@$(MAKE) all BUILD_TYPE=BUILD_NATIVE
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ To compile Integral, enter the following commands in a terminal:
```
git clone https://github.com/aronpetko/integral
cd integral
make <native|x86_64_bmi2|x86_64_modern|x86_64>
make [native | vnni512 | avx512 | avx2_bmi2 | avx2 | sse41_popcnt]
```

0 comments on commit 61c92ad

Please sign in to comment.