Skip to content

Commit 9cca72b

Browse files
committed
minor cleanups to make it more cross platform
1 parent 6ef2a74 commit 9cca72b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
LIBSOURCES = fft_fftw.c libcsdr_wrapper.c
3030
#SOURCES = csdr.c $(LIBSOURCES)
31-
cpufeature = $(if $(findstring $(1),$(shell cat /proc/cpuinfo)),$(2))
31+
cpufeature = $(if $(findstring $(1),$(shell list_cpu_features)),$(2))
3232
PARAMS_SSE = $(call cpufeature,sse,-msse) $(call cpufeature,sse2,-msse2) $(call cpufeature,sse3,-msse3) $(call cpufeature,sse4a,-msse4a) $(call cpufeature,sse4_1,-msse4.1) $(call cpufeature,sse4_2,-msse4.2 -msse4) -mfpmath=sse
3333
PARAMS_NEON = -mfloat-abi=hard -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mvectorize-with-neon-quad -funsafe-math-optimizations -Wformat=0 -DNEON_OPTS
3434
#tnx Jan Szumiec for the Raspberry Pi support

parsevect

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2
1+
#!/usr/bin/env python2
22
print "" # python2.7 is required to run parsevect instead of python3
33
"""
44
This software is part of libcsdr, a set of simple DSP routines for

0 commit comments

Comments
 (0)