From e9cc73e674ac89fd2a34eae640c4223964888f4c Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Fri, 5 Mar 2021 10:13:58 +0100 Subject: [PATCH] Add GCC compilers --- modules/GCC10.php | 15 +++++++++++++++ modules/GCC8.php | 15 +++++++++++++++ modules/GCC9.php | 15 +++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 modules/GCC10.php create mode 100644 modules/GCC8.php create mode 100644 modules/GCC9.php diff --git a/modules/GCC10.php b/modules/GCC10.php new file mode 100644 index 0000000..73fa807 --- /dev/null +++ b/modules/GCC10.php @@ -0,0 +1,15 @@ +patch->setBranch('10'); + } + function check() : bool { + if ($this->fetch('https://gcc.gnu.org/')) + return $this->parse('/GCC ([\d\.]+)/'); + return false; + } +} + +?> diff --git a/modules/GCC8.php b/modules/GCC8.php new file mode 100644 index 0000000..ffc9b37 --- /dev/null +++ b/modules/GCC8.php @@ -0,0 +1,15 @@ +patch->setBranch('8'); + } + function check() : bool { + if ($this->fetch('https://gcc.gnu.org/')) + return $this->parse('/GCC ([\d\.]+)/'); + return false; + } +} + +?> diff --git a/modules/GCC9.php b/modules/GCC9.php new file mode 100644 index 0000000..0dff3f8 --- /dev/null +++ b/modules/GCC9.php @@ -0,0 +1,15 @@ +patch->setBranch('9'); + } + function check() : bool { + if ($this->fetch('https://gcc.gnu.org/')) + return $this->parse('/GCC ([\d\.]+)/'); + return false; + } +} + +?>