Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import sysconfig
import numpy as np

arch = subprocess.check_output(["uname", "-m"], encoding='utf8').rstrip()
RETROS = os.path.isfile('/data/data/com.termux/files/retros_setup_complete')

python_path = sysconfig.get_paths()['include']
cpppath = [
Expand Down Expand Up @@ -118,6 +119,10 @@ env = Environment(
tools=["default", "cython"]
)

# RETROS
if RETROS:
env["CCFLAGS"] += ["-Wno-error=unqualified-std-cast-call", "-DRETROS"]

# Cython build enviroment
py_include = sysconfig.get_paths()['include']
envCython = env.Clone()
Expand All @@ -136,7 +141,7 @@ else:
Export('envCython')

QCOM_REPLAY = False
Export('env', 'arch', 'QCOM_REPLAY', 'SHARED')
Export('env', 'arch', 'QCOM_REPLAY', 'SHARED', 'RETROS')

SConscript(['common/SConscript'])
Import('_common')
Expand Down Expand Up @@ -217,7 +222,8 @@ SConscript([
'panda/SConscript',
])

SConscript(['SConscript'])
if not RETROS:
SConscript(['SConscript'])

SConscript(['system/proclogd/SConscript'])

Expand Down
3 changes: 2 additions & 1 deletion android/src/main/java/ai.flow.android/LoadingActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void run() {
}

// boot all the flowpilot daemons in non-java land.
bootTermux();
// bootTermux();

ParamsInterface params = ParamsInterface.getInstance();
params.getBool("F3");
Expand All @@ -100,6 +100,7 @@ public void run() {

// destroy current activity
finish();
finish();
}
}).start();
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
257 changes: 153 additions & 104 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading