summaryrefslogtreecommitdiff
path: root/otp_build
Commit message (Collapse)AuthorAgeFilesLines
* otp_build check help text improvementsRickard Green2023-05-101-1/+2
|
* Introduce otp_build checkRickard Green2023-05-091-0/+9
| | | | | | | Perform various basic build checks on the system. This is not a complete set of checks before a change can be introduced into the OTP daily builds. All of these checks need to pass before a change can even be considering for testing in OTP daily builds.
* Update copyright yearErlang/OTP2023-02-141-1/+1
|
* erts: Fix building of debuginfo on windowsLukas Larsson2022-08-311-4/+3
|
* Merge branch 'maint'Rickard Green2021-12-151-1/+1
|\ | | | | | | | | * maint: Update copyright year
| * Update copyright yearRickard Green2021-12-151-1/+1
| |
* | Merge branch 'maint'Dan Gudmundsson2021-06-301-2/+2
|\ \ | |/
| * Update wsl env setup instructionDan Gudmundsson2021-06-241-2/+2
| | | | | | | | The default must be x64 nowadays, print that instead of without x64.
* | Move autoconf helpers from erts to make/autoconfRickard Green2021-06-151-34/+28
| |
* | Adapt configure scripts to autoconf 2.71 (step 2)Rickard Green2021-06-151-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace conditional constructs (if, case) with autoconf constructs (AS_IF(), AS_CASE()) where needed. This due to the following (cut from autoconf 2.70 release notes): - Autoconf macros that use AC_REQUIRE are not safe to use in shell control-flow constructs that appear outside of macros defined by AC_DEFUN. Use AS_IF, AS_CASE, etc. instead. (See the Prerequisite Macro section of the manual for details.) The set of macros that use AC_REQUIRE internally may change from release to release. The only macros that are guaranteed *not* to use AC_REQUIRE are the macros for acting on the results of a test: AC_DEFINE, AC_SUBST, AC_MSG_*, AC_CACHE_CHECK, etc.
* | Adapt configure scripts to autoconf 2.71 (step 1)Rickard Green2021-06-141-3/+4
|/ | | | Replace obsolete macros and fix warnings
* Merge 'rickard/configure/23/OTP-17398' into rickard/configure/24/OTP-17398Rickard Green2021-05-191-49/+107
|\ | | | | | | | | * rickard/configure/OTP-17398: Support for committing of configure scripts
| * Merge 'rickard/configure/OTP-17398' into rickard/configure/23/OTP-17398Rickard Green2021-05-191-49/+107
| |\ | | | | | | | | | | | | * rickard/configure/OTP-17398: Support for committing of configure scripts
| | * Support for committing of configure scriptsRickard Green2021-05-191-62/+107
| | |
* | | Make crypto's configure fail if feature requests cannot be satisfiedRickard Green2021-05-031-5/+0
| | | | | | | | | | | | | | | | | | Besides failing when feature requests cannot be satisfied a lot of bugs have been fixed and tests that aren't used anymore have been removed.
* | | otp: Remove HiPE and HiPE-related accessoriesJohn Högberg2020-11-091-1/+1
| | |
* | | erts: Implement the BeamAsm JITLukas Larsson2020-09-221-1/+1
|/ / | | | | | | | | | | Co-authored-by: John Högberg <john@erlang.org> Co-authored-by: Dan Gudmundsson <dgud@erlang.org> Co-authored-by: Björn Gustavsson <bjorn@erlang.org>
* | Allow "otp_build update_primary|preloaded" without gitSverker Eriksson2020-04-021-37/+27
| |
* | Remove remaining VxWorks supportRickard Green2020-02-201-57/+6
| |
* | Merge branch 'dgud/fix-wsl-builds'Dan Gudmundsson2020-02-141-1/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dgud/fix-wsl-builds: Use wsl openssl Look for dump files to make them visible in monitor Fix tests on WSL Check argv size Add WSL shell variable for makefiles erts: Move erts_get_ethread_info implementation kernel: Find executable from WSLPATH on windows Fix ERTS_SKIP_DEPEND Fix CLASSPATH with wsl Fix executable extensions Extend MSVC install paths
| * | kernel: Find executable from WSLPATH on windowsLukas Larsson2020-01-241-1/+18
| | |
* | | otp/erl_lint: Generate deprecation and removal warnings from sourceJohn Högberg2020-02-121-0/+35
|/ /
* | Merge branch 'dgud/build-WSL'Dan Gudmundsson2020-01-081-4/+73
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | * dgud/build-WSL: Add missing files to gitignore Make build installer work from WSL Fix deps generation on Windows Support ssl-1.1.1 on windows when building crypto Setup VC env in otp_build Add wsl config as an environment to otp build tools
| * | Setup VC env in otp_buildDan Gudmundsson2019-11-121-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | If there is no cl.exe in path try to setup the paths and the needed env variables. Use vcvarsall.bat from VC so we get the correct path and libraries. Search some default installations paths
| * | Add wsl config as an environment to otp build toolsDan Gudmundsson2019-11-121-2/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows "cross" building with native windows from WSL linux. Currently we only support building on the windows disk, old WSL installations can not access WSL disk at all and on the newer ones it is still problematic. Thus, create the erlang src/git on /mnt/c/<dir>/otp/ and don't create links from wsl to windows, that will cause problems for the scripts and will not work. Use: cd /mnt/c/<dir>/otp eval `./otp_build env_win32 ARCH` ./otp_build To build with emu_cc (32 and 64) it needs mingw-gcc On wsl ubuntu use: 'sudo apt-get install gcc-mingw-w64' to install everything for both build targets. Additional commit comments: - Let configure (crypto/wx) search in '/mnt/c/DocumentedPaths' - Use -Z7 for debug info Add debug info into .o files instead of vc120.pdb which makes parallel compilation more stable. - Use mingw-gcc as emu_cc Packages available in ubuntu. - Use $ERL_TOP/tmp for temporary directories Linux /tmp is not accessable in older wsl (arrived in Win 10 19.03). - Quoting is problematic It seems to be impossible to handle 'spaces' in paths correct, the autotools are just not prepared to handle that and we depend on them. Currently NOT supported but have been prepared for: -Using wsl as disk -- Ensure directory exists If linux file server is overloaded it may take a while until the directory is visible for windows programs. -- Use absolute paths Windows tools needs absolute (the network path) to access files on the wsl drive. Also we can not use mixed mode (forward slashes) for network paths, windows programs don't recognize //wsl$/<install>/
* | | Merge branch 'dgud/cleanup-windows-build'Dan Gudmundsson2019-11-141-144/+48
|\ \ \ | |/ / | | / | |/ |/| | | | | * dgud/cleanup-windows-build: Refactor otp_build env_win32 Speedup depend.mk creation Refactor win32 configure handling
| * Refactor otp_build env_win32Dan Gudmundsson2019-11-121-144/+48
| | | | | | | | Parameterize functions and fix env_win64 to do what is documented.
* | otp_build: Add -t option for building a tiny systemBjörn Gustavsson2019-10-211-25/+25
|/ | | | | | | | | | Add the `-t` option to `otp_build` for building a tiny system. The tiny system can be used for updating the primary bootstrap or the preloaded modules in erts. On my computer, `./otp_build setup -t` finished the build of the tiny system in 1 min 50 seconds. The small build (`-s` option or no option) finished in 2 min 55 seconds.
* Fix build of bootstrapRickard Green2019-03-051-1/+1
|
* win32: Fix ./otp_build debuginfo_win32Lukas Larsson2019-02-221-1/+1
|
* Move configuration of crypto to crypto application from ertsRickard Green2018-08-211-1/+1
| | | | | In order to be able to handle runtime library path in crypto also DED parts was broken out into a macro.
* Parallel configureRickard Green2018-08-211-64/+27
|
* Remove undocumented and unused lazy configureRickard Green2018-07-161-116/+0
|
* Clean configure when before invoking autoconfDan Gudmundsson2017-03-131-0/+5
| | | | | | | | Autoconf doesn't remake configure if creation time on configure.in is older than the previous version. This caused problems on windows so always recreate configure when running ./otp_build autoconf
* erts: Don't check autoconf versionBjörn-Egil Dahlberg2017-02-021-35/+0
|
* Delete dead code in `otp_build` scriptLuca Favatella2016-06-031-3/+0
| | | | | In options `plain` and `smp`, code checking for option being `opt` had been dead since R12B-5.
* Merge branch 'binarin/fix-build-tool-paths/PR-1023/OTP-13562'Lukas Larsson2016-05-091-2/+2
|\ | | | | | | | | | | | | | | * binarin/fix-build-tool-paths/PR-1023/OTP-13562: Fix program paths used in build process Conflicts: erts/configure.in
| * Fix program paths used in build processAlexey Lebedeff2016-04-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Not every OS has '/bin/rm' or '/bin/pwd' at exactly that location. In some places in configure scripts result of AC_PATH_PROG was already correctly used, this patch makes this usage more consistent. As for `/bin/pwd` in `otp_build`, shell built-in one is already used in mingw parts - so it should cause no harm to use it everywhere. Difference is only in symlinks resolution - non-builtin `pwd` always returns absolute path, and builtin-one could take into account what sequence of user actions lead to current value of $PWD.
* | Remove test_server as a standalone applicationBjörn Gustavsson2016-02-171-2/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test_server application has previously been deprecated. In OTP 19, we will move relevant parts of test_server into the common_test application. Test suites that include test_server.hrl must be updated to include ct.hrl instead. Test suites that include test_server_line.hrl must removed that inclusion. Test suites that call the test_server module directly will continue to work in OTP 19. The test suites for Erlang/OTP are built and executed in exactly the same way as previously. Here are some more details. The modules test_server*.erl and erl2html2.erl in lib/test_server/src have been moved to common_test/src. The test_server.hrl and test_server_line.hrl include files have been deleted. The macros in test_server.hrl have been copied into lib/common_test/include/ct.hrl. The ts*.erl modules and their associated data files in lib/test_server/src has been been moved to the new directory lib/common_test/test_server. The ts* modules are no longer built to lib/common_test/ebin. They will only built when 'make release_tests' is executed. The test suite for test_server has been moved to lib/common_test/test. The rest of the files have been deleted.
* erts: Detect and build on MSYS2 for windowsDan Gudmundsson2015-10-221-2/+2
| | | | | | Allow building win32 on MSYS2. Avoid msys2 path conversion which does not work. And print the real windows command when something fails.
* Change license text to APLv2Bruce Yinhe2015-06-181-9/+10
|
* Distribute autoconf helpersRickard Green2014-12-021-43/+13
| | | | | | Distribute aclocal.m4, install-sh, config.guess, and config.sub to applications at build time instead of having multiple identical copies committed in the repository.
* Replace 'otp_build patch_app' with 'otp_patch_apply'Rickard Green2014-03-311-141/+0
|
* Change release name from "OTP APN 181 01" to "Erlang/OTP"Siri Hansen2014-03-211-2/+2
|
* Verify runtime_dependencies when running 'otp_build patch_app'Rickard Green2014-03-201-31/+43
|
* Merge branch 'rickard/configure-defaults/OTP-11723'Rickard Green2014-02-241-10/+8
|\ | | | | | | | | * rickard/configure-defaults/OTP-11723: Always default to disabled floating point exceptions on Linux
| * Always default to disabled floating point exceptions on LinuxRickard Green2014-02-241-10/+8
| | | | | | | | | | This since there exist unresolved stability issues in the implementation for Linux.
* | Misc adjustments of OTP versionRickard Green2014-02-191-2/+6
|/
* Add patch_app option to otp_buildSiri Hansen2014-02-131-1/+126
|
* Fix issues with new versioningRickard Green2014-01-091-1/+1
|