mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 15:53:28 +03:00
Merge with Intel ISAL changes from github.com/minio-io/isal
- These changes bring in a much needed Mac OSX port for
Intel ISAL library
- At the current stage this MacOSX part of code is
considered beta
- pkg/cpu now supports OSX
- pkg/checksum/crc32c - is still WIP, rest of the packages
have been validated
This commit is contained in:
@@ -63,6 +63,11 @@ ASFLAGS_win64 = -f win64
|
||||
CFLAGS_icl = -Qstd=c99
|
||||
ARFLAGS_win64 = -out:$@
|
||||
|
||||
# arch=osx build options
|
||||
ASFLAGS_osx = -f macho64
|
||||
ARFLAGS_osx = -r $@
|
||||
STRIP_gcc = strip -d $@
|
||||
|
||||
# arch=mingw build options
|
||||
ASFLAGS_mingw = -f win64
|
||||
ARFLAGS_mingw = cr $@
|
||||
@@ -101,9 +106,13 @@ ifeq ($(arch),win64)
|
||||
lib_name := $(basename $(lib_name)).lib
|
||||
endif
|
||||
lsrcwin64 = $(lsrc)
|
||||
lsrcosx = $(lsrc)
|
||||
unit_testswin64 = $(unit_tests)
|
||||
unit_testsosx = $(unit_tests)
|
||||
exampleswin64 = $(examples)
|
||||
examplesosx = $(examples)
|
||||
perf_testswin64 = $(perf_tests)
|
||||
perf_testsosx = $(perf_tests)
|
||||
|
||||
# Build and run unit tests, performance tests, etc.
|
||||
all_tests = $(sort $(perf_tests$(arch)) $(unit_tests$(arch)) $(examples$(arch)) $(other_tests))
|
||||
@@ -199,7 +208,6 @@ perf_report:
|
||||
@echo Summary:
|
||||
-grep runtime $(rpt_name)
|
||||
|
||||
|
||||
clean:
|
||||
@echo Cleaning up
|
||||
@$(RM) -r $(O)/*.o *.a $(all_tests) $(lib_name) $(so_lib_name)
|
||||
|
||||
Reference in New Issue
Block a user