mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Rename FRC to WPILib (#8637)
This commit is contained in:
@@ -93,17 +93,17 @@ deploy {
|
||||
all {
|
||||
postdeploy << { ctx ->
|
||||
ctx.execute("sync")
|
||||
ctx.execute("sudo ldconfig /home/systemcore/frc/third-party/lib")
|
||||
ctx.execute("sudo ldconfig /home/systemcore/wpilib/third-party/lib")
|
||||
}
|
||||
}
|
||||
|
||||
developerRobotCpp(NativeExecutableArtifact) {
|
||||
libraryDirectory = '/home/systemcore/frc/third-party/lib'
|
||||
libraryDirectory = '/home/systemcore/wpilib/third-party/lib'
|
||||
def excludes = getLibraryFilter().getExcludes()
|
||||
excludes.add('**/*.so.debug')
|
||||
excludes.add('**/*.so.*.debug')
|
||||
postdeploy << { ctx ->
|
||||
ctx.execute("echo 'LD_LIBRARY_PATH=/home/systemcore/frc/third-party/lib /home/systemcore/developerRobotCpp' > /home/systemcore/robotCommand")
|
||||
ctx.execute("echo 'LD_LIBRARY_PATH=/home/systemcore/wpilib/third-party/lib /home/systemcore/developerRobotCpp' > /home/systemcore/robotCommand")
|
||||
ctx.execute("chmod +x /home/systemcore/robotCommand; chown systemcore /home/systemcore/robotCommand")
|
||||
ctx.execute("setcap cap_sys_nice+eip \"/home/systemcore/developerRobotCpp\"")
|
||||
ctx.execute('chmod +x developerRobotCpp')
|
||||
@@ -111,9 +111,9 @@ deploy {
|
||||
}
|
||||
|
||||
developerRobotCppStatic(NativeExecutableArtifact) {
|
||||
libraryDirectory = '/home/systemcore/frc/third-party/lib'
|
||||
libraryDirectory = '/home/systemcore/wpilib/third-party/lib'
|
||||
postdeploy << { ctx ->
|
||||
ctx.execute("echo ''LD_LIBRARY_PATH=/home/systemcore/frc/third-party/lib /home/systemcore/developerRobotCppStatic' > /home/systemcore/robotCommand")
|
||||
ctx.execute("echo ''LD_LIBRARY_PATH=/home/systemcore/wpilib/third-party/lib /home/systemcore/developerRobotCppStatic' > /home/systemcore/robotCommand")
|
||||
ctx.execute("chmod +x /home/systemcore/robotCommand; chown systemcore /home/systemcore/robotCommand")
|
||||
ctx.execute("sudo setcap cap_sys_nice+eip \"/home/systemcore/developerRobotCppStatic\"")
|
||||
ctx.execute('chmod +x developerRobotCppStatic')
|
||||
@@ -121,7 +121,7 @@ deploy {
|
||||
}
|
||||
|
||||
developerRobotCppJava(NativeExecutableArtifact) {
|
||||
libraryDirectory = '/home/systemcore/frc/third-party/lib'
|
||||
libraryDirectory = '/home/systemcore/wpilib/third-party/lib'
|
||||
def excludes = getLibraryFilter().getExcludes()
|
||||
excludes.add('**/*.so.debug')
|
||||
excludes.add('**/*.so.*.debug')
|
||||
@@ -130,7 +130,7 @@ deploy {
|
||||
developerRobotJava(JavaArtifact) {
|
||||
jarTask = shadowJar
|
||||
postdeploy << { ctx ->
|
||||
ctx.execute("echo '/usr/bin/java -XX:+UseG1GC -Djava.library.path=/home/systemcore/frc/third-party/lib -jar /home/systemcore/developerRobot-all.jar' > /home/systemcore/robotCommand")
|
||||
ctx.execute("echo '/usr/bin/java -XX:+UseG1GC -Djava.library.path=/home/systemcore/wpilib/third-party/lib -jar /home/systemcore/developerRobot-all.jar' > /home/systemcore/robotCommand")
|
||||
ctx.execute("chmod +x /home/systemcore/robotCommand; chown systemcore /home/systemcore/robotCommand")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user