Skip to content

Instantly share code, notes, and snippets.

View joy4eg's full-sized avatar

Yaroslav joy4eg

View GitHub Profile
@joy4eg
joy4eg / 0001-absl-fix-build.patch
Created October 19, 2020 13:25
tensorflow lite and gcc 6.3
From f67d35439b6cc35dff1c1c837bdec50a222826ed Mon Sep 17 00:00:00 2001
From: Yaroslav Syrytsia <me@ys.lc>
Date: Mon, 19 Oct 2020 16:21:12 +0300
Subject: [PATCH] absl: fix build
---
.../downloads/absl/absl/base/internal/exponential_biased.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tensorflow/lite/tools/make/downloads/absl/absl/base/internal/exponential_biased.cc b/tensorflow/lite/tools/make/downloads/absl/absl/base/internal/exponential_biased.cc
@joy4eg
joy4eg / patch.diff
Last active March 30, 2020 12:16
buildroot toolchain fix for make 4.3+
diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk
index 996cc70d44..8cd12f8a61 100644
--- a/toolchain/helpers.mk
+++ b/toolchain/helpers.mk
@@ -122,9 +122,9 @@ copy_toolchain_sysroot = \
if [ "$${target}" == "$${target\#/}" ] ; then \
continue ; \
fi ; \
- relpath="$(call relpath_prefix,$${target\#/})" ; \
+ relpath="$(call relpath_prefix,$${target$(NUM_CHAR)/})" ; \
@joy4eg
joy4eg / path.diff
Last active June 17, 2016 11:19
Database issue workaroud
--- a/lib/Controllers/DatabaseController.js
+++ b/lib/Controllers/DatabaseController.js
@@ -118,7 +118,6 @@ DatabaseController.prototype.loadSchema = function () {
if (!this.schemaPromise) {
this.schemaPromise = this.schemaCollection().then(function (collection) {
- delete _this.schemaPromise;
return SchemaController.load(collection, _this.adapter);
});
}