Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
c9e1fa78
Commit
c9e1fa78
authored
Oct 12, 2015
by
4ast
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #268 from iovisor/bblanco_dev
Fixes for deb/rpm packaging
parents
95e454f5
7e00fc1d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
6 deletions
+14
-6
SPECS/bcc.spec
SPECS/bcc.spec
+9
-3
cmake/version.cmake
cmake/version.cmake
+3
-1
debian/python-bcc.install
debian/python-bcc.install
+0
-1
debian/rules
debian/rules
+2
-1
No files found.
SPECS/bcc.spec
View file @
c9e1fa78
%define debug_package %{nil}
Name: bcc
Version: 0.1.
6
Version: 0.1.
7
Release: 1%{?dist}
Summary: BPF Compiler Collection (BCC)
...
...
@@ -25,7 +25,7 @@ userspace.
mkdir build
pushd build
cmake .. -DREVISION=%{version} -DCMAKE_INSTALL_PREFIX=/usr
cmake .. -DREVISION
_LAST=%{version} -DREVISION
=%{version} -DCMAKE_INSTALL_PREFIX=/usr
make -j`grep -c ^process /proc/cpuinfo`
popd
...
...
@@ -34,6 +34,9 @@ pushd build
make install/strip DESTDIR=%{buildroot}
%changelog
* Mon Oct 12 2015 Brenden Blanco <bblanco@plumgrid.com> - 0.1.2-1
- Add better version numbering into libbcc.so
* Fri Jul 03 2015 Brenden Blanco <bblanco@plumgrid.com> - 0.1.1-2
- Initial RPM Release
...
...
@@ -55,7 +58,6 @@ Python bindings for BPF Compiler Collection (BCC)
%files -n python-bcc
%{python_sitelib}/bcc*
%exclude %{python_sitelib}/*.egg-info
%files -n libbcc
/usr/lib64/*
...
...
@@ -64,3 +66,7 @@ Python bindings for BPF Compiler Collection (BCC)
%files -n libbcc-examples
/usr/share/bcc/examples/*
%exclude /usr/share/bcc/examples/*.pyc
%exclude /usr/share/bcc/examples/*.pyo
%exclude /usr/share/bcc/examples/*/*.pyc
%exclude /usr/share/bcc/examples/*/*.pyo
cmake/version.cmake
View file @
c9e1fa78
...
...
@@ -20,4 +20,6 @@ endif()
# strip leading 'v', and make unique for the tag
message
(
STATUS
"Revision is
${
REVISION
}
"
)
# rpm/deb packaging uses this, only works on whole tag numbers
string
(
SUBSTRING
"
${
GIT_TAG_LAST
}
"
1 -1 REVISION_LAST
)
if
(
NOT REVISION_LAST
)
string
(
SUBSTRING
"
${
GIT_TAG_LAST
}
"
1 -1 REVISION_LAST
)
endif
()
debian/python-b
pf
.install
→
debian/python-b
cc
.install
View file @
c9e1fa78
usr
/
lib
/
python
*
usr
/
bin
/
bpf
-
run
debian/rules
View file @
c9e1fa78
...
...
@@ -11,5 +11,6 @@ UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -rne "s,^Version: ([0-9.]+
%
:
dh
$@
--buildsystem
=
cmake
--parallel
# FIXME: LLVM_DEFINITIONS is broken somehow in LLVM cmake upstream
override_dh_auto_configure
:
dh_auto_configure
--
-DREVISION
=
$(UPSTREAM_VERSION)
dh_auto_configure
--
-DREVISION
_LAST
=
$(UPSTREAM_VERSION)
-DREVISION
=
$(UPSTREAM_VERSION)
-DLLVM_DEFINITIONS
=
"-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment