[PATCH] D130820: [cmake] Add LoongArch to config.guess

Lu Weining via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 31 03:49:47 PDT 2022


SixWeining added inline comments.


================
Comment at: llvm/cmake/config.guess:925
 	exit ;;
+    loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*)
+	echo "${UNAME_MACHINE}-unknown-linux-${LIBC}"
----------------
I'm not sure it exists or not. Let me double check with others internally. Thanks.


================
Comment at: llvm/cmake/config.guess:926
+    loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*)
+	echo "${UNAME_MACHINE}-unknown-linux-${LIBC}"
+	exit ;;
----------------
Unlike the upstream `config.git`, this file misses the initialization of `LIBC`.  Perhaps we can use `gnu` for now?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130820/new/

https://reviews.llvm.org/D130820



More information about the llvm-commits mailing list