File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ matrix:
1010      language : c 
1111      compiler : gcc 
1212      script : make arm_neon=1 aarch64=1 
13+     - arch : arm64 
14+       language : c 
15+       compiler : gcc 
16+       script : make -f Makefile.simde arm_neon=1 aarch64=1 
1317    - language : python 
1418      python : " 2.7" 
1519      before_install : pip install cython 
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ OBJS=		kthread.o kalloc.o misc.o bseq.o sketch.o sdust.o options.o index.o chain
66PROG=		minimap2
77PROG_EXTRA=	sdust minimap2-lite
88LIBS=		-lm -lz -lpthread
9+ SSE4=	
910
1011
1112ifneq ($(arm_neon),) # if arm_neon is defined
@@ -16,6 +17,10 @@ else                 #if aarch64 is defined
1617endif
1718endif
1819
20+ ifeq ($(sse2only),) #if sse2only is not defined
21+         SSE4+=-D__SSE4_1__
22+ endif
23+ 
1924ifneq ($(asan),)
2025	CFLAGS+=-fsanitize=address
2126	LIBS+=-fsanitize=address
@@ -49,16 +54,16 @@ sdust:sdust.c kalloc.o kalloc.h kdq.h kvec.h kseq.h ketopt.h sdust.h
4954		$(CC) -D_SDUST_MAIN $(CFLAGS) $< kalloc.o -o $@ -lz
5055
5156ksw2_ll_simde.o:ksw2_ll_sse.c ksw2.h kalloc.h
52- 		$(CC) -c $(CFLAGS) -msse2  $(CPPFLAGS) $(INCLUDES) $< -o $@
57+ 		$(CC) -c $(CFLAGS) -D__SSE2__  $(CPPFLAGS) $(INCLUDES) $< -o $@
5358
5459ksw2_extz2_simde.o:ksw2_extz2_sse.c ksw2.h kalloc.h
55- 		$(CC) -c $(CFLAGS) -msse4.1  $(CPPFLAGS) $(INCLUDES) $< -o $@
60+ 		$(CC) -c $(CFLAGS) -D__SSE2__ $(SSE4)  $(CPPFLAGS) $(INCLUDES) $< -o $@
5661
5762ksw2_extd2_simde.o:ksw2_extd2_sse.c ksw2.h kalloc.h
58- 		$(CC) -c $(CFLAGS) -msse4.1  $(CPPFLAGS) $(INCLUDES) $< -o $@
63+ 		$(CC) -c $(CFLAGS) -D__SSE2__ $(SSE4)  $(CPPFLAGS) $(INCLUDES) $< -o $@
5964
6065ksw2_exts2_simde.o:ksw2_exts2_sse.c ksw2.h kalloc.h
61- 		$(CC) -c $(CFLAGS) -msse4.1  $(CPPFLAGS) $(INCLUDES) $< -o $@
66+ 		$(CC) -c $(CFLAGS) -D__SSE2__ $(SSE4)  $(CPPFLAGS) $(INCLUDES) $< -o $@
6267
6368# other non-file targets
6469
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments