Fixed TFLite build on windows w/ AVX enabled.
PiperOrigin-RevId: 286679971 Change-Id: I7cb05244983c005949524a0101077e5771e2f556
This commit is contained in:
parent
375654d0ff
commit
8a7097eb9b
@ -190,6 +190,13 @@ config_setting(
|
||||
},
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "windows",
|
||||
values = {
|
||||
"cpu": "x64_windows",
|
||||
},
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "raspberry_pi_with_neon",
|
||||
define_values = {
|
||||
@ -263,6 +270,7 @@ cc_library(
|
||||
":darwin": tflite_deps_intel,
|
||||
":darwin_x86_64": tflite_deps_intel,
|
||||
":freebsd": tflite_deps_intel,
|
||||
":windows": tflite_deps_intel,
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
)
|
||||
@ -309,6 +317,7 @@ cc_library(
|
||||
":darwin": tflite_deps_intel,
|
||||
":darwin_x86_64": tflite_deps_intel,
|
||||
":freebsd": tflite_deps_intel,
|
||||
":windows": tflite_deps_intel,
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
)
|
||||
@ -480,6 +489,7 @@ cc_library(
|
||||
":darwin": tflite_deps_intel,
|
||||
":darwin_x86_64": tflite_deps_intel,
|
||||
":freebsd": tflite_deps_intel,
|
||||
":windows": tflite_deps_intel,
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
)
|
||||
@ -541,6 +551,7 @@ cc_library(
|
||||
":darwin": tflite_deps_intel,
|
||||
":darwin_x86_64": tflite_deps_intel,
|
||||
":freebsd": tflite_deps_intel,
|
||||
":windows": tflite_deps_intel,
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
)
|
||||
@ -738,6 +749,7 @@ cc_library(
|
||||
":freebsd": [
|
||||
":sse_tensor_utils",
|
||||
],
|
||||
":windows": [":sse_tensor_utils"],
|
||||
"//conditions:default": [
|
||||
":portable_tensor_utils",
|
||||
],
|
||||
@ -974,6 +986,7 @@ cc_library(
|
||||
":darwin": tflite_deps_intel,
|
||||
":darwin_x86_64": tflite_deps_intel,
|
||||
":freebsd": tflite_deps_intel,
|
||||
":windows": tflite_deps_intel,
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
)
|
||||
|
||||
@ -13,7 +13,6 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
==============================================================================*/
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user