File tree Expand file tree Collapse file tree 7 files changed +46
-37
lines changed Expand file tree Collapse file tree 7 files changed +46
-37
lines changed Original file line number Diff line number Diff line change 7373 - {os: ubuntu, codename: noble, image_owner: }
7474 # - {os: raspbian, codename: buster, image_owner: igagis/, labels: [ubuntu-24.04-arm]}
7575 # - {os: raspbian, codename: bullseye, image_owner: igagis/, labels: [ubuntu-24.04-arm]}
76- - {os: raspbian, codename: bookworm, image_owner: igagis/, labels: [ubuntu-24.04-arm]}
76+ # - {os: raspbian, codename: bookworm, image_owner: igagis/, labels: [ubuntu-24.04-arm]}
7777 runs-on : ${{ (matrix.labels == '' && 'ubuntu-latest') || matrix.labels }}
7878 container : ${{ matrix.image_owner }}${{ matrix.os }}:${{ matrix.codename }}
7979 name : linux - ${{ matrix.image_owner }}${{ matrix.os }}:${{ matrix.codename }}
Original file line number Diff line number Diff line change @@ -5,11 +5,12 @@ include prorab-clang-format.mk
55
66$(eval $(call prorab-config, ../config))
77
8- this_name := papki
8+ this_src_dir := papki
9+ this_name := $(this_src_dir )$(this_dbg )
910
1011this_soname := $(shell cat $(d ) soname.txt)
1112
12- this_srcs := $(call prorab-src-dir, $(this_name ) )
13+ this_srcs := $(call prorab-src-dir, $(this_src_dir ) )
1314
1415this_cxxflags += -isystem ../src_deps
1516
2425
2526$(eval $(prorab-build-lib))
2627
27- this_src_dir := $(this_name )
28-
2928$(eval $(prorab-clang-format))
3029
3130this_license_file := ../LICENSE
Original file line number Diff line number Diff line change @@ -7,19 +7,21 @@ this_name := tests
77
88this_srcs += $(call prorab-src-dir, .)
99
10- this_ldlibs += -lpapki -lutki
11- this_ldflags += -L$(d ) ../../src/out/$(c )
10+ this_ldlibs += -lutki$(this_dbg )
11+
12+ this__libpapki += ../../src/out/$(c ) /libpapki$(this_dbg )$(dot_so )
13+
14+ this_ldlibs += $(this__libpapki )
1215
1316this_no_install := true
1417
1518$(eval $(prorab-build-app))
1619
17- # add dependency on libpapki.so/dll
18- $(prorab_this_name ) : $(abspath $(d ) ../../src/out/$(c ) /libpapki$(dot_so ) )
19-
2020this_test_cmd := $(prorab_this_name )
21- this_test_deps := $(prorab_this_name )
21+ this_test_deps := $(prorab_this_name ) $( this__libpapki )
2222this_test_ld_path := ../../src/out/$(c )
23+
24+ # TODO: is needed?
2325# for conan
2426this_test_ld_path += $(patsubst -L% ,% ,$(filter -L% ,$(LDFLAGS ) ) )
2527
Original file line number Diff line number Diff line change @@ -7,19 +7,21 @@ this_name := tests
77
88this_srcs += $(call prorab-src-dir, .)
99
10- this_ldlibs += -lpapki -lutki
11- this_ldflags += -L$(d ) ../../src/out/$(c )
10+ this_ldlibs += -l utki$(this_dbg )
11+
12+ this__libpapki := ../../src/out/$(c ) /libpapki$(this_dbg )$(dot_so )
13+
14+ this_ldlibs += $(this__libpapki )
1215
1316this_no_install := true
1417
1518$(eval $(prorab-build-app))
1619
17- # add dependency on libpapki.so
18- $(prorab_this_name ) : $(abspath $(d ) ../../src/out/$(c ) /libpapki$(dot_so ) )
19-
2020this_test_cmd := $(prorab_this_name )
21- this_test_deps := $(prorab_this_name )
21+ this_test_deps := $(prorab_this_name ) $( this__libpapki )
2222this_test_ld_path := ../../src/out/$(c )
23+
24+ # TODO: is needed?
2325# for conan
2426this_test_ld_path += $(patsubst -L% ,% ,$(filter -L% ,$(LDFLAGS ) ) )
2527
Original file line number Diff line number Diff line change @@ -7,23 +7,25 @@ this_name := tests
77
88this_srcs += $(call prorab-src-dir, .)
99
10- this_ldlibs += -lpapki -lutki
11- this_ldflags += -L$(d ) ../../src/out/$(c )
10+ this_ldlibs += -l utki$(this_dbg )
11+
12+ this__libpapki := ../../src/out/$(c ) /libpapki$(this_dbg )$(dot_so )
13+
14+ this_ldlibs += $(this__libpapki )
1215
1316this_no_install := true
1417
1518$(eval $(prorab-build-app))
1619
17- # add dependency on libpapki.so
18- $(prorab_this_name ) : $(abspath $(d ) ../../src/out/$(c ) /libpapki$(dot_so ) )
19-
2020this_test_cmd := $(prorab_this_name )
21- this_test_deps := $(prorab_this_name )
21+ this_test_deps := $(prorab_this_name ) $( this__libpapki )
2222this_test_ld_path := ../../src/out/$(c )
23+
24+ # TODO: is needed?
2325# for conan
2426this_test_ld_path += $(patsubst -L% ,% ,$(filter -L% ,$(LDFLAGS ) ) )
2527
2628$(eval $(prorab-test))
2729
2830# include makefile for building papki
29- $(eval $(call prorab-include,../../src/makefile))
31+ $(eval $(call prorab-include, ../../src/makefile))
Original file line number Diff line number Diff line change @@ -7,23 +7,25 @@ this_name := tests
77
88this_srcs += $(call prorab-src-dir, .)
99
10- this_ldlibs += -lpapki -lutki
11- this_ldflags += -L$(d ) ../../src/out/$(c )
10+ this_ldlibs += -l utki$(this_dbg )
11+
12+ this__libpapki := ../../src/out/$(c ) /libpapki$(this_dbg )$(dot_so )
13+
14+ this_ldlibs += $(this__libpapki )
1215
1316this_no_install := true
1417
1518$(eval $(prorab-build-app))
1619
17- # add dependency on libpapki.so
18- $(prorab_this_name ) : $(abspath $(d ) ../../src/out/$(c ) /libpapki$(dot_so ) )
19-
2020this_test_cmd := $(prorab_this_name )
21- this_test_deps := $(prorab_this_name )
21+ this_test_deps := $(prorab_this_name ) $( this__libpapki )
2222this_test_ld_path := ../../src/out/$(c )
23+
24+ # TODO: is needed?
2325# for conan
2426this_test_ld_path += $(patsubst -L% ,% ,$(filter -L% ,$(LDFLAGS ) ) )
2527
2628$(eval $(prorab-test))
2729
2830# include makefile for building papki
29- $(eval $(call prorab-include,../../src/makefile))
31+ $(eval $(call prorab-include, ../../src/makefile))
Original file line number Diff line number Diff line change @@ -7,19 +7,21 @@ this_name := tests
77
88this_srcs += $(call prorab-src-dir, .)
99
10- this_ldlibs += -lpapki -lutki
11- this_ldflags += -L$(d ) ../../src/out/$(c )
10+ this_ldlibs += -l utki$(this_dbg )
11+
12+ this__libpapki := ../../src/out/$(c ) /libpapki$(this_dbg )$(dot_so )
13+
14+ this_ldlibs += $(this__libpapki )
1215
1316this_no_install := true
1417
1518$(eval $(prorab-build-app))
1619
17- # add dependency on libpapki.so
18- $(prorab_this_name ) : $(abspath $(d ) ../../src/out/$(c ) /libpapki$(dot_so ) )
19-
2020this_test_cmd := $(prorab_this_name )
21- this_test_deps := $(prorab_this_name )
21+ this_test_deps := $(prorab_this_name ) $( this__libpapki )
2222this_test_ld_path := ../../src/out/$(c )
23+
24+ # TODO: is needed?
2325# for conan
2426this_test_ld_path += $(patsubst -L% ,% ,$(filter -L% ,$(LDFLAGS ) ) )
2527
You can’t perform that action at this time.
0 commit comments