forked from wpilibsuite/WPILibPi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec1665f
commit c169363
Showing
22 changed files
with
175 additions
and
175 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,14 +1,15 @@ | ||
FROM i386/debian:buster | ||
FROM debian:bullseye | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN apt-get -y update && \ | ||
apt-get -y install --no-install-recommends \ | ||
git vim parted pkg-config nodejs \ | ||
quilt coreutils qemu-user-static debootstrap zerofree zip dosfstools \ | ||
bsdtar libcap2-bin rsync grep udev xz-utils curl xxd file kmod bc \ | ||
binfmt-support ca-certificates \ | ||
build-essential cmake python3 python3-distutils python3-jinja2 ant sudo openjdk-11-jdk \ | ||
libarchive-tools libcap2-bin rsync grep udev xz-utils curl xxd file kmod bc\ | ||
binfmt-support ca-certificates qemu-utils kpartx fdisk gpg pigz\ | ||
crossbuild-essential-arm64 \ | ||
build-essential cmake python3 python3-distutils python3-jinja2 ant sudo openjdk-17-jdk \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
LABEL "com.azure.dev.pipelines.agent.handler.node.path"="/usr/bin/node" |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
set(JNI_INCLUDE_DIRS "$ENV{ROOTFS_DIR}/usr/lib/jvm/jdk-11.0.1/include" "$ENV{ROOTFS_DIR}/usr/lib/jvm/jdk-11.0.1/include/linux") | ||
set(JNI_INCLUDE_DIRS "$ENV{ROOTFS_DIR}/usr/lib/jvm/java-17-openjdk-arm64/include" "$ENV{ROOTFS_DIR}/usr/lib/jvm/java-17-openjdk-arm64/include/linux") | ||
set(JNI_LIBRARIES ) | ||
set(JNI_FOUND YES) | ||
set(JAVA_AWT_LIBRARY ) | ||
set(JAVA_JVM_LIBRARY ) | ||
set(JAVA_INCLUDE_PATH "$ENV{ROOTFS_DIR}/usr/lib/jvm/jdk-11.0.1/include") | ||
set(JAVA_INCLUDE_PATH2 "$ENV{ROOTFS_DIR}/usr/lib/jvm/jdk-11.0.1/include/linux") | ||
set(JAVA_INCLUDE_PATH "$ENV{ROOTFS_DIR}/usr/lib/jvm/java-17-openjdk-arm64/include") | ||
set(JAVA_INCLUDE_PATH2 "$ENV{ROOTFS_DIR}/usr/lib/jvm/java-17-openjdk-arm64/include/linux") | ||
set(JAVA_AWT_INCLUDE_PATH ) | ||
|
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,26 @@ | ||
diff --git a/apriltag/CMakeLists.txt b/apriltag/CMakeLists.txt | ||
index 29dcd2bb4..7b431c9b2 100644 | ||
--- a/apriltag/CMakeLists.txt | ||
+++ b/apriltag/CMakeLists.txt | ||
@@ -40,7 +40,7 @@ if (WITH_JAVA) | ||
set(CMAKE_JAVA_INCLUDE_PATH apriltag.jar ${EJML_JARS} ${JACKSON_JARS}) | ||
|
||
file(GLOB_RECURSE JAVA_SOURCES src/main/java/*.java) | ||
- file(GLOB_RECURSE JAVA_RESOURCES src/main/native/resources/*.json) | ||
+ file(GLOB_RECURSE JAVA_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} src/main/native/resources/*.json) | ||
add_jar(apriltag_jar | ||
SOURCES ${JAVA_SOURCES} | ||
RESOURCES NAMESPACE "edu/wpi/first/apriltag" ${JAVA_RESOURCES} | ||
diff --git a/fieldImages/CMakeLists.txt b/fieldImages/CMakeLists.txt | ||
index bf02505b2..90140f47a 100644 | ||
--- a/fieldImages/CMakeLists.txt | ||
+++ b/fieldImages/CMakeLists.txt | ||
@@ -11,7 +11,7 @@ if (WITH_JAVA) | ||
set(CMAKE_JAVA_INCLUDE_PATH fieldImages.jar ${JACKSON_JARS}) | ||
|
||
file(GLOB_RECURSE JAVA_SOURCES src/main/java/*.java) | ||
- file(GLOB_RECURSE JAVA_RESOURCES src/main/native/resources/*.json src/main/native/resources/*.png src/main/native/resources/*.jpg) | ||
+ file(GLOB_RECURSE JAVA_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} src/main/native/resources/*.json src/main/native/resources/*.png src/main/native/resources/*.jpg) | ||
add_jar(field_images_jar SOURCES ${JAVA_SOURCES} RESOURCES NAMESPACE "edu/wpi/first/fields" ${JAVA_RESOURCES} OUTPUT_NAME fieldImages) | ||
|
||
get_property(FIELD_IMAGES_JAR_FILE TARGET field_images_jar PROPERTY JAR_FILE) |
Oops, something went wrong.