-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #124 from RoboStack/rebuild_2024
Jan 2024 rebuild
- Loading branch information
Showing
46 changed files
with
1,215 additions
and
746 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ runners: | |
preemptible: false | ||
labels: | ||
- cirun-linux-aarch64 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Useful script when checking whether patches apply cleanly. | ||
# First, run `vinca` (without `-m` flag) to generate a recipe.yaml. | ||
# Then, run this script to generate a new pseudo list that only contains sources that have patches applied. | ||
# This you can then run through `boa` which will try and apply the patches. | ||
|
||
import yaml | ||
import shutil | ||
import os | ||
|
||
SCRIPT_DIR = './' | ||
|
||
shutil.move(SCRIPT_DIR + '/recipe.yaml', SCRIPT_DIR + '/recipe.yaml.bak') | ||
|
||
# Load the YAML file | ||
with open('recipe.yaml.bak', 'r') as file: | ||
data = yaml.safe_load(file) | ||
|
||
prepend_data = { | ||
'package': { | ||
'name': 'ros-dummy', | ||
'version': '2024.01.17' | ||
} | ||
} | ||
|
||
append_data = { | ||
'build': { | ||
'number': 0 | ||
}, | ||
'about': { | ||
'home': 'https://www.ros.org/', | ||
'license': 'BSD-3-Clause', | ||
'summary': 'Robot Operating System' | ||
}, | ||
'extra': { | ||
'recipe-maintainers': [ | ||
'ros-forge' | ||
] | ||
} | ||
} | ||
|
||
# Filter out entries without 'patches' | ||
filtered_data = [entry for entry in data['source'] if 'patches' in entry] | ||
|
||
final_data = {**prepend_data, 'source': filtered_data, **append_data} | ||
|
||
# Write the filtered data back to a YAML file | ||
with open('recipe.yaml', 'w') as file: | ||
yaml.dump(final_data, file, sort_keys=False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index c906851..b48600f 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -5,8 +5,10 @@ project(apriltag_ros) | ||
set(CMAKE_CXX_STANDARD 14) | ||
|
||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") | ||
- add_compile_options(-Werror -Wall -Wextra -Wpedantic) | ||
- add_link_options("-Wl,-z,relro,-z,now,-z,defs") | ||
+ if(NOT APPLE) | ||
+ add_compile_options(-Werror -Wall -Wextra -Wpedantic) | ||
+ add_link_options("-Wl,-z,relro,-z,now,-z,defs") | ||
+ endif() | ||
endif() | ||
|
||
option(ASAN "use AddressSanitizer to detect memory issues" OFF) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/setup.py b/setup.py | ||
index 552531f..0774755 100644 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -7,7 +7,7 @@ package_name = 'bno055' | ||
|
||
setup( | ||
name=package_name, | ||
- version='0.4.1.', | ||
+ version='0.4.1', | ||
# find sub-packages automatically in order to allow sub-modules, etc. to be imported: | ||
# packages=[package_name], | ||
packages=find_packages(exclude=['test']), |
Oops, something went wrong.