File tree 2 files changed +10
-14
lines changed
2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 1
1
name : fastp ci
2
2
on :
3
- push :
4
- branches :
5
- - master
6
3
pull_request :
7
4
branches :
8
5
- master
9
6
jobs :
10
7
build :
11
8
strategy :
9
+ fail-fast : false
12
10
matrix :
13
11
os :
14
- - ubuntu-latest
15
- - macos-latest
12
+ - ubuntu-24.04
13
+ - macos-12
16
14
runs-on : ${{ matrix.os }}
17
15
steps :
18
16
- name : checkout scm
35
33
with :
36
34
repository : ebiggers/libdeflate
37
35
path : src/libs/deflate
36
+ ref : v1.22
38
37
39
38
- name : build deflate
40
39
run : |
49
48
with :
50
49
repository : intel/isa-l
51
50
path : src/libs/isa-l
51
+ ref : v2.31.0
52
52
53
53
- name : build isa-l
54
54
run : |
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ TARGET := fastp
15
15
BIN_TARGET := ${TARGET}
16
16
17
17
CXX ?= g++
18
- CXXFLAGS := -std=c++11 -pthread -g -O3 -I${DIR_INC} $(foreach includedir,$(INCLUDE_DIRS ) ,-I$(includedir ) ) ${CXXFLAGS}
18
+ CXXFLAGS := -std=c++11 -pthread -g -O3 -MD -MP - I${DIR_INC} $(foreach includedir,$(INCLUDE_DIRS ) ,-I$(includedir ) ) ${CXXFLAGS}
19
19
LIBS := -lisal -ldeflate -lpthread
20
20
STATIC_FLAGS := -static -Wl,--no-as-needed -pthread
21
21
LD_FLAGS := $(foreach librarydir,$(LIBRARY_DIRS ) ,-L$(librarydir ) ) $(LIBS ) $(LD_FLAGS )
@@ -35,15 +35,11 @@ ${DIR_OBJ}/%.o:${DIR_SRC}/%.cpp
35
35
.PHONY :clean
36
36
.PHONY :static
37
37
clean :
38
- @if test -d $(DIR_OBJ ) ; \
39
- then \
40
- find $(DIR_OBJ ) -name * .o -delete; \
41
- fi
42
- @if test -e $(TARGET ) ; \
43
- then \
44
- rm $(TARGET ) ; \
45
- fi
38
+ @rm -rf $(DIR_OBJ )
39
+ @rm -f $(TARGET )
46
40
47
41
install :
48
42
install $(TARGET ) $(BINDIR ) /$(TARGET )
49
43
@echo " Installed."
44
+
45
+ -include $(OBJ :.o=.d)
You can’t perform that action at this time.
0 commit comments