ermig1979 / Simd

C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, VMX(Altivec) and VSX(Power7) for PowerPC, NEON for ARM.
http://ermig1979.github.io/Simd
MIT License
2.03k stars 406 forks source link

Build number #209

Closed mikeversteeg closed 2 years ago

mikeversteeg commented 2 years ago

Would it be possible to increment the build number if there is a new build? This enables me to verify I am running the correct version and it can be used as a reference in Issues (instead of "that release on the morning of April 15h"). Thanks.

ermig1979 commented 2 years ago

Git is a distributed system and does not have any commit number. It uses SHA-1 hash to identify commits. So you can take starting symbols of the SHA-1 hash to reference to given commit.

mikeversteeg commented 2 years ago

But SimdVersiondoes not return commit, it returns the version and build number. Which you do not update..

ermig1979 commented 2 years ago

Its reasonable. I can add commit hash to SimdVersion.

mikeversteeg commented 2 years ago

Why not use build number? It's standard practice.

ermig1979 commented 2 years ago

I added git commit ID to SimdVersion.