Skip to content

Commit

Permalink
cleanup up old lib64 references (commaai#30246)
Browse files Browse the repository at this point in the history
* cleanup sensord

* rm rest

* fix that

* update that
  • Loading branch information
adeebshihadeh authored Oct 15, 2023
1 parent 383964c commit f0aa631
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 13 deletions.
1 change: 0 additions & 1 deletion release/files_common
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ system/sensord/SConscript
system/sensord/sensors_qcom2.cc
system/sensord/sensors/*.cc
system/sensord/sensors/*.h
system/sensord/sensord
system/sensord/pigeond.py

selfdrive/thermald/thermald.py
Expand Down
2 changes: 1 addition & 1 deletion selfdrive/test/test_onroad.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"selfdrive.controls.plannerd": 16.5,
"./_ui": 18.0,
"selfdrive.locationd.paramsd": 9.0,
"./_sensord": 7.0,
"./sensord": 7.0,
"selfdrive.controls.radard": 4.5,
"selfdrive.modeld.modeld": 8.0,
"selfdrive.modeld.dmonitoringmodeld": 8.0,
Expand Down
1 change: 0 additions & 1 deletion selfdrive/ui/soundd/soundd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
cd "$(dirname "$0")"
export LD_LIBRARY_PATH="/system/lib64:$LD_LIBRARY_PATH"
export QT_QPA_PLATFORM="offscreen"
exec ./_soundd
1 change: 0 additions & 1 deletion selfdrive/ui/spinner
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ if [ -f /TICI ] && [ ! -f qt/spinner ]; then
cp qt/spinner_larch64 qt/spinner
fi

export LD_LIBRARY_PATH="/system/lib64:$LD_LIBRARY_PATH"
exec ./qt/spinner "$1"
1 change: 0 additions & 1 deletion selfdrive/ui/text
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ if [ -f /TICI ] && [ ! -f qt/text ]; then
cp qt/text_larch64 qt/text
fi

export LD_LIBRARY_PATH="/system/lib64:$LD_LIBRARY_PATH"
exec ./qt/text "$1"
1 change: 0 additions & 1 deletion selfdrive/ui/ui
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
cd "$(dirname "$0")"
export LD_LIBRARY_PATH="/system/lib64:$LD_LIBRARY_PATH"
export QT_DBL_CLICK_DIST=150
exec ./_ui
2 changes: 1 addition & 1 deletion system/sensord/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
_sensord
sensord
2 changes: 1 addition & 1 deletion system/sensord/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ sensors = [
libs = [common, cereal, messaging, 'capnp', 'zmq', 'kj', 'pthread']
if arch == "larch64":
libs.append('i2c')
env.Program('_sensord', ['sensors_qcom2.cc'] + sensors, LIBS=libs)
env.Program('sensord', ['sensors_qcom2.cc'] + sensors, LIBS=libs)
4 changes: 0 additions & 4 deletions system/sensord/sensord

This file was deleted.

2 changes: 1 addition & 1 deletion system/sensord/tests/test_sensord.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def setUpClass(cls):
os.environ["LSM_SELF_TEST"] = "1"

# read initial sensor values every test case can use
os.system("pkill -f ./_sensord")
os.system("pkill -f ./sensord")
try:
managed_processes["sensord"].start()
cls.sample_secs = int(os.getenv("SAMPLE_SECS", "10"))
Expand Down

0 comments on commit f0aa631

Please sign in to comment.