Skip to content

Commit

Permalink
Switch to 2024 roborio compiler part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ThadHouse committed May 26, 2024
1 parent 1e02c7b commit 38f9710
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
include:
- container: wpilib/roborio-cross-ubuntu:2023-22.04
- container: wpilib/roborio-cross-ubuntu:2024-22.04
artifact-name: Athena
build-options: "-Pplatform=linux-athena"
- container: wpilib/raspbian-cross-ubuntu:bullseye-22.04
Expand Down
2 changes: 1 addition & 1 deletion arm-frc-gnueabi.toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(GCC_COMPILER_VERSION "" CACHE STRING "GCC Compiler version")
set(GNU_MACHINE "arm-frc2023-linux-gnueabi" CACHE STRING "GNU compiler triple")
set(GNU_MACHINE "arm-frc2024-linux-gnueabi" CACHE STRING "GNU compiler triple")
set(SOFTFP yes)
set(ARM_LINUX_SYSROOT /usr/local/arm-nilrt-linux-gnueabi/sysroot)
include("${CMAKE_CURRENT_LIST_DIR}/opencv/platforms/linux/arm.toolchain.cmake")
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ def stripExe = 'strip'
def objCopyExe = 'objcopy'

if (project.platform == "linux-athena") {
stripExe = 'arm-frc2023-linux-gnueabi-strip'
objCopyExe = 'arm-frc2023-linux-gnueabi-objcopy'
stripExe = 'arm-frc2024-linux-gnueabi-strip'
objCopyExe = 'arm-frc2024-linux-gnueabi-objcopy'
} else if (project.platform == "linux-arm32") {
stripExe = 'armv6-bullseye-linux-gnueabihf-strip'
objCopyExe = 'armv6-bullseye-linux-gnueabihf-objcopy'
Expand Down

0 comments on commit 38f9710

Please sign in to comment.