Unverified Commit 4cd3a0ec authored by Alyssa Ross's avatar Alyssa Ross Committed by GitHub
Browse files

lib/systems: add ARC cross-compilation target (#510160)

parents 6c20a6f6 6152e8cb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ let

    # Linux
    "aarch64-linux"
    "arc-linux"
    "armv5tel-linux"
    "armv6l-linux"
    "armv7a-linux"
@@ -143,6 +144,7 @@ in
  vc4 = filterDoubles predicates.isVc4;
  or1k = filterDoubles predicates.isOr1k;
  m68k = filterDoubles predicates.isM68k;
  arc = filterDoubles predicates.isArc;
  s390 = filterDoubles predicates.isS390;
  s390x = filterDoubles predicates.isS390x;
  loongarch64 = filterDoubles predicates.isLoongArch64;
+4 −0
Original line number Diff line number Diff line
@@ -239,6 +239,10 @@ rec {
    config = "m68k-unknown-linux-gnu";
  };

  arc = {
    config = "arc-unknown-linux-gnu";
  };

  s390 = {
    config = "s390-unknown-linux-gnu";
  };
+5 −0
Original line number Diff line number Diff line
@@ -229,6 +229,11 @@ rec {
        family = "m68k";
      };
    };
    isArc = {
      cpu = {
        family = "arc";
      };
    };
    isS390 = {
      cpu = {
        family = "s390";
+6 −0
Original line number Diff line number Diff line
@@ -382,6 +382,12 @@ rec {
        family = "or1k";
      };

      arc = {
        bits = 32;
        significantByte = littleEndian;
        family = "arc";
      };

      loongarch64 = {
        bits = 64;
        significantByte = littleEndian;
+1 −0
Original line number Diff line number Diff line
@@ -163,6 +163,7 @@ lib.runTests (
    testillumos = mseteq illumos [ "x86_64-solaris" ];
    testlinux = mseteq linux [
      "aarch64-linux"
      "arc-linux"
      "armv5tel-linux"
      "armv6l-linux"
      "armv7a-linux"
Loading