Skip to content

Commit

Permalink
Strip libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Jan 12, 2024
1 parent 3e9e434 commit 1cc76ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ package: ${BUILT_TGZ}
'*/lib/lib*so.408' \
'*/share/opencv4/haarcascades/*.xml' \
'*/share/opencv4/lbpcascades/*.xml'
roborio-gen-whl data-core.py coredata -o dist
roborio-gen-whl data-core.py coredata -o dist --strip arm-frc2024-linux-gnueabi-strip

# create dev package
mkdir -p devdata/usr/local/lib
Expand All @@ -44,4 +44,4 @@ package: ${BUILT_TGZ}
mkdir -p data/usr/local/lib/python$(PYVERSION)/site-packages
xtar -xf ${BUILT_TGZ} -C data/usr/local/lib/python$(PYVERSION)/site-packages --strip=4 \
'*/lib/python$(PYVERSION)/site-packages/cv2*.so'
roborio-gen-whl data-py.py data -o dist
roborio-gen-whl data-py.py data -o dist --strip arm-frc2024-linux-gnueabi-strip
2 changes: 1 addition & 1 deletion data-core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "robotpy-opencv-core"
version = "4.8.0+r1"
version = "4.8.0+r2"
url = "https://opencv.org"
license = "Apache 2"
install_requires = ["numpy"]
2 changes: 1 addition & 1 deletion data-py.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "robotpy-opencv"
version = "4.8.0+r1"
version = "4.8.0+r2"
url = "https://opencv.org"
license = "Apache 2"
install_requires = ["numpy", f"robotpy-opencv-core=={version}"]

0 comments on commit 1cc76ed

Please sign in to comment.