@@ -331,17 +331,13 @@ def _impl(ctx):
331
331
flags = [
332
332
"-std=c++11",
333
333
"-isystem",
334
- "%{ ARM_COMPILER_PATH} %/arm-linux-gnueabihf/include/c++/4.9.3/ ",
334
+ "%{ ARM_COMPILER_PATH} %/lib/gcc/ arm-rpi- linux-gnueabihf/6.5.0/include ",
335
335
"-isystem",
336
- "%{ ARM_COMPILER_PATH} %/arm-linux-gnueabihf/sysroot/usr/ include/ ",
336
+ "%{ ARM_COMPILER_PATH} %/lib/gcc/ arm-rpi- linux-gnueabihf/6.5.0/ include-fixed ",
337
337
"-isystem",
338
- "%{ ARM_COMPILER_PATH} %/arm-linux-gnueabihf/libc /usr/include/",
338
+ "%{ ARM_COMPILER_PATH} %/arm-rpi- linux-gnueabihf/sysroot /usr/include/",
339
339
"-isystem",
340
- "%{ ARM_COMPILER_PATH} %/lib/gcc/arm-linux-gnueabihf/4.9.3/include",
341
- "-isystem",
342
- "%{ ARM_COMPILER_PATH} %/lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed",
343
- "-isystem",
344
- "%{ ARM_COMPILER_PATH} %/local_include",
340
+ "%{ ARM_COMPILER_PATH} %/arm-rpi-linux-gnueabihf/include/c++/6.5.0/",
345
341
"-isystem",
346
342
"%{ PYTHON_INCLUDE_PATH} %",
347
343
"-isystem",
@@ -563,12 +559,10 @@ def _impl(ctx):
563
559
564
560
if (ctx.attr.cpu == "armeabi"):
565
561
cxx_builtin_include_directories = [
566
- "%{ ARM_COMPILER_PATH} %/arm-linux-gnueabihf/include/c++/4.9.3/",
567
- "%{ ARM_COMPILER_PATH} %/arm-linux-gnueabihf/sysroot/usr/include/",
568
- "%{ ARM_COMPILER_PATH} %/arm-linux-gnueabihf/libc/usr/include/",
569
- "%{ ARM_COMPILER_PATH} %/lib/gcc/arm-linux-gnueabihf/4.9.3/include",
570
- "%{ ARM_COMPILER_PATH} %/lib/gcc/arm-linux-gnueabihf/4.9.3/include-fixed",
571
- "%{ ARM_COMPILER_PATH} %/local_include",
562
+ "%{ ARM_COMPILER_PATH} %/lib/gcc/arm-rpi-linux-gnueabihf/6.5.0/include",
563
+ "%{ ARM_COMPILER_PATH} %/lib/gcc/arm-rpi-linux-gnueabihf/6.5.0/include-fixed",
564
+ "%{ ARM_COMPILER_PATH} %/arm-rpi-linux-gnueabihf/sysroot/usr/include/",
565
+ "%{ ARM_COMPILER_PATH} %/arm-rpi-linux-gnueabihf/include/c++/6.5.0/",
572
566
"/usr/include",
573
567
"/tmp/openblas_install/include/",
574
568
]
@@ -585,44 +579,44 @@ def _impl(ctx):
585
579
tool_paths = [
586
580
tool_path(
587
581
name = "ar",
588
- path = "%{ ARM_COMPILER_PATH} %/bin/arm-linux-gnueabihf-ar",
582
+ path = "%{ ARM_COMPILER_PATH} %/bin/arm-rpi- linux-gnueabihf-ar",
589
583
),
590
584
tool_path(name = "compat-ld", path = "/bin/false"),
591
585
tool_path(
592
586
name = "cpp",
593
- path = "%{ ARM_COMPILER_PATH} %/bin/arm-linux-gnueabihf-cpp",
587
+ path = "%{ ARM_COMPILER_PATH} %/bin/arm-rpi- linux-gnueabihf-cpp",
594
588
),
595
589
tool_path(
596
590
name = "dwp",
597
- path = "%{ ARM_COMPILER_PATH} %/bin/arm-linux-gnueabihf-dwp",
591
+ path = "%{ ARM_COMPILER_PATH} %/bin/arm-rpi- linux-gnueabihf-dwp",
598
592
),
599
593
tool_path(
600
594
name = "gcc",
601
- path = "%{ ARM_COMPILER_PATH} %/bin/arm-linux-gnueabihf-gcc",
595
+ path = "%{ ARM_COMPILER_PATH} %/bin/arm-rpi- linux-gnueabihf-gcc",
602
596
),
603
597
tool_path(
604
598
name = "gcov",
605
- path = "%{ ARM_COMPILER_PATH} %/bin/arm-linux-gnueabihf-gcov",
599
+ path = "%{ ARM_COMPILER_PATH} %/bin/arm-rpi- linux-gnueabihf-gcov",
606
600
),
607
601
tool_path(
608
602
name = "ld",
609
- path = "%{ ARM_COMPILER_PATH} %/bin/arm-linux-gnueabihf-ld",
603
+ path = "%{ ARM_COMPILER_PATH} %/bin/arm-rpi- linux-gnueabihf-ld",
610
604
),
611
605
tool_path(
612
606
name = "nm",
613
- path = "%{ ARM_COMPILER_PATH} %/bin/arm-linux-gnueabihf-nm",
607
+ path = "%{ ARM_COMPILER_PATH} %/bin/arm-rpi- linux-gnueabihf-nm",
614
608
),
615
609
tool_path(
616
610
name = "objcopy",
617
- path = "%{ ARM_COMPILER_PATH} %/bin/arm-linux-gnueabihf-objcopy",
611
+ path = "%{ ARM_COMPILER_PATH} %/bin/arm-rpi- linux-gnueabihf-objcopy",
618
612
),
619
613
tool_path(
620
614
name = "objdump",
621
- path = "%{ ARM_COMPILER_PATH} %/bin/arm-linux-gnueabihf-objdump",
615
+ path = "%{ ARM_COMPILER_PATH} %/bin/arm-rpi- linux-gnueabihf-objdump",
622
616
),
623
617
tool_path(
624
618
name = "strip",
625
- path = "%{ ARM_COMPILER_PATH} %/bin/arm-linux-gnueabihf-strip",
619
+ path = "%{ ARM_COMPILER_PATH} %/bin/arm-rpi- linux-gnueabihf-strip",
626
620
),
627
621
]
628
622
elif (ctx.attr.cpu == "local"):
0 commit comments