From b62af1a9e8597537570a1b66e13d0a648ebd2615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Wed, 9 Dec 2020 13:57:08 +0100 Subject: [PATCH] Remove autotools dependencies from the build requirements (#45825) Now that Mono has switched to CMake we no longer need the autoconf, automake and libtool build dependencies. --- docs/workflow/requirements/freebsd-requirements.md | 5 +---- docs/workflow/requirements/linux-requirements.md | 13 ++----------- docs/workflow/requirements/macos-requirements.md | 3 --- eng/Brewfile | 3 --- eng/install-native-dependencies.sh | 2 +- src/mono/cmake/README.md | 9 --------- 6 files changed, 4 insertions(+), 31 deletions(-) delete mode 100644 src/mono/cmake/README.md diff --git a/docs/workflow/requirements/freebsd-requirements.md b/docs/workflow/requirements/freebsd-requirements.md index 986425cbe3e..a0193bb918d 100644 --- a/docs/workflow/requirements/freebsd-requirements.md +++ b/docs/workflow/requirements/freebsd-requirements.md @@ -49,9 +49,6 @@ Building dotnet/runtime depends on several tools to be installed. Install the following packages: - cmake -- autoconf -- automake -- libtool - icu - libunwind - lttng-ust @@ -62,7 +59,7 @@ Install the following packages: The lines to install all the packages above using package manager. ```sh -sudo pkg install --yes libunwind icu libinotify lttng-ust krb5 cmake autoconf automake openssl ninja +sudo pkg install --yes libunwind icu libinotify lttng-ust krb5 cmake openssl ninja ``` Additionally, working dotnet cli with SDK is needed. On other platforms this would be downloaded automatically during build but it is not currently available for FreeBSD. diff --git a/docs/workflow/requirements/linux-requirements.md b/docs/workflow/requirements/linux-requirements.md index cc832813606..e08d4f0ae07 100644 --- a/docs/workflow/requirements/linux-requirements.md +++ b/docs/workflow/requirements/linux-requirements.md @@ -32,9 +32,6 @@ Install the following packages for the toolchain: - cmake - llvm-9 - clang-9 -- autoconf -- automake -- libtool - build-essential - python - curl @@ -52,15 +49,9 @@ Install the following packages for the toolchain: - zlib1g-dev - ninja-build (optional, enables building native code with ninja instead of make) -The following dependencies are needed if Mono Runtime is enabled (default behavior): - -- autoconf -- automake -- libtool - ``` -sudo apt-get install -y cmake llvm-9 clang-9 autoconf automake \ -libtool build-essential python curl git lldb-6.0 liblldb-6.0-dev \ +sudo apt-get install -y cmake llvm-9 clang-9 \ +build-essential python curl git lldb-6.0 liblldb-6.0-dev \ libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev \ libssl-dev libnuma-dev libkrb5-dev zlib1g-dev ninja-build ``` diff --git a/docs/workflow/requirements/macos-requirements.md b/docs/workflow/requirements/macos-requirements.md index d1ef9307816..22e3981cbc7 100644 --- a/docs/workflow/requirements/macos-requirements.md +++ b/docs/workflow/requirements/macos-requirements.md @@ -21,10 +21,7 @@ Building dotnet/runtime depends on several tools to be installed. You can downlo Install the following packages: - cmake 3.15.5 or newer -- autoconf -- automake - icu4c -- libtool - openssl 1.1 - pkg-config - python3 diff --git a/eng/Brewfile b/eng/Brewfile index 40252a15f30..02dfc07b181 100644 --- a/eng/Brewfile +++ b/eng/Brewfile @@ -1,8 +1,5 @@ -brew "autoconf" -brew "automake" brew "cmake" brew "icu4c" -brew "libtool" brew "openssl@1.1" brew "pkg-config" brew "python3" diff --git a/eng/install-native-dependencies.sh b/eng/install-native-dependencies.sh index 19ea810bb1c..6806c09efa7 100755 --- a/eng/install-native-dependencies.sh +++ b/eng/install-native-dependencies.sh @@ -24,7 +24,7 @@ if [ "$1" = "Linux" ]; then if [ "$?" != "0" ]; then exit 1; fi - sudo apt install cmake llvm-3.9 clang-3.9 lldb-3.9 liblldb-3.9-dev libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev libcurl4-openssl-dev libssl-dev libkrb5-dev libnuma-dev autoconf automake libtool build-essential + sudo apt install cmake llvm-3.9 clang-3.9 lldb-3.9 liblldb-3.9-dev libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev libcurl4-openssl-dev libssl-dev libkrb5-dev libnuma-dev build-essential if [ "$?" != "0" ]; then exit 1; fi diff --git a/src/mono/cmake/README.md b/src/mono/cmake/README.md deleted file mode 100644 index 31b5f7395fc..00000000000 --- a/src/mono/cmake/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Introduction - -* This is an alternative CMAKE based build system for mono. -* The autoconf build system is still the official one. -* Only a subset of platforms/configurations etc. are supported. - -# Usage - -```cmake -DENABLE_NETCORE=1 -G Ninja .```