[med-svn] [Git][med-team/libatomic-queue][master] Regenerate static and shared lib wrt new commit

Nilesh Patra gitlab at salsa.debian.org
Sat Oct 24 08:07:36 BST 2020



Nilesh Patra pushed to branch master at Debian Med / libatomic-queue


Commits:
a63b105c by Nilesh Patra at 2020-10-24T07:04:34+00:00
Regenerate static and shared lib wrt new commit

- - - - -


1 changed file:

- debian/patches/generate-shared-library.patch


Changes:

=====================================
debian/patches/generate-shared-library.patch
=====================================
@@ -5,7 +5,7 @@ Description: Fix unused variable
 
 --- a/Makefile
 +++ b/Makefile
-@@ -10,6 +10,7 @@ BUILD := release
+@@ -10,6 +10,7 @@
  
  TOOLSET := gcc
  build_dir := ${CURDIR}/build/${BUILD}/${TOOLSET}
@@ -13,7 +13,7 @@ Description: Fix unused variable
  
  cxx.gcc := g++
  cc.gcc := gcc
-@@ -61,19 +62,20 @@ ldlibs.moodycamel :=
+@@ -61,21 +62,30 @@
  cppflags.xenium := -I${abspath ../xenium}
  ldlibs.xenium :=
  
@@ -32,11 +32,21 @@ Description: Fix unused variable
  all : ${exes}
  
 -${exes} : % : ${build_dir}/%
-+${exes} : % : ${build_dir}/% ${build_dir_shared}/libatomic_queue.so
++${exes} : % : ${build_dir}/% ${build_dir}/libatomic_queue.a  ${build_dir_shared}/libatomic_queue.so
  	ln -sf ${<:${CURDIR}/%=%}
  
++${build_dir}/libatomic_queue.a : $(addprefix ${build_dir}/,cpu_base_frequency.o huge_pages.o)
++-include ${build_dir}/cpu_base_frequency.d
++-include ${build_dir}/huge_pages.d
++
++${build_dir_shared}/libatomic_queue.so : $(addprefix ${build_dir_shared}/,cpu_base_frequency.o huge_pages.o)
++-include ${build_dir_shared}/cpu_base_frequency.d
++-include ${build_dir_shared}/huge_pages.d
++
  benchmarks_src := benchmarks.cc cpu_base_frequency.cc huge_pages.cc
-@@ -95,9 +97,10 @@ ${build_dir}/example : ${example_src:%.c
+ ${build_dir}/benchmarks : cppflags += ${cppflags.tbb} ${cppflags.moodycamel} ${cppflags.xenium}
+ ${build_dir}/benchmarks : ldlibs += ${ldlibs.tbb} ${ldlibs.moodycamel} ${ldlibs.xenium} -ldl
+@@ -95,9 +105,10 @@
  	$(strip ${LINK.EXE})
  -include ${example_src:%.cc=${build_dir}/%.d}
  
@@ -44,13 +54,13 @@ Description: Fix unused variable
 -${build_dir}/%.so : Makefile | ${build_dir}
 -	$(strip ${LINK.SO})
 +${build_dir_shared}/%.so : cxxflags += -fPIC
-+${build_dir_shared}/%.so : Makefile | ${build_dir}
++${build_dir_shared}/%.so : Makefile | ${build_dir_shared}
 +	${LINK.SO}
 +	ln -s $@.$(SOVERSION) $@
  
  ${build_dir}/%.a : Makefile | ${build_dir}
  	$(strip ${LINK.A})
-@@ -122,6 +125,13 @@ ${build_dir}/%.o : src/%.cc Makefile | $
+@@ -122,6 +133,13 @@
  ${build_dir}/%.o : src/%.c Makefile | ${build_dir}
  	$(strip ${COMPILE.C})
  
@@ -64,7 +74,7 @@ Description: Fix unused variable
  %.S : cppflags += ${cppflags.tbb} ${cppflags.moodycamel} ${cppflags.xenium}
  %.S : src/%.cc Makefile | ${build_dir}
  	$(strip ${COMPILE.S})
-@@ -132,6 +142,9 @@ ${build_dir}/%.o : src/%.c Makefile | ${
+@@ -132,11 +150,14 @@
  ${build_dir} :
  	mkdir -p $@
  
@@ -74,3 +84,9 @@ Description: Fix unused variable
  rtags : clean
  	${MAKE} -nk | rc -c -; true
  
+ clean :
+-	rm -rf ${build_dir} ${exes}
++	rm -rf ${build_dir} ${exes} ${build_dir_shared}
+ 
+ env :
+ 	env | sort



View it on GitLab: https://salsa.debian.org/med-team/libatomic-queue/-/commit/a63b105cc9669c1a35d59d84eb433bdb2dbcde7c

-- 
View it on GitLab: https://salsa.debian.org/med-team/libatomic-queue/-/commit/a63b105cc9669c1a35d59d84eb433bdb2dbcde7c
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20201024/a3f7ec31/attachment-0001.html>


More information about the debian-med-commit mailing list