| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| |
| |
| | |
* maint:
Update copyright year
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
The default must be x64 nowadays, print that instead of without x64.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
| |
Replace obsolete macros and fix warnings
|
|\
| |
| |
| |
| | |
* rickard/configure/OTP-17398:
Support for committing of configure scripts
|
| |\
| | |
| | |
| | |
| | | |
* rickard/configure/OTP-17398:
Support for committing of configure scripts
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
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>
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | | |
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>/
|
|\ \ \
| |/ /
| | /
| |/
|/|
| |
| | |
* dgud/cleanup-windows-build:
Refactor otp_build env_win32
Speedup depend.mk creation
Refactor win32 configure handling
|
| |
| |
| |
| | |
Parameterize functions and fix env_win64 to do what is documented.
|
|/
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
In order to be able to handle runtime library path in crypto
also DED parts was broken out into a macro.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
In options `plain` and `smp`, code checking for option being `opt` had
been dead since R12B-5.
|
|\
| |
| |
| |
| |
| |
| |
| | |
* binarin/fix-build-tool-paths/PR-1023/OTP-13562:
Fix program paths used in build process
Conflicts:
erts/configure.in
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Allow building win32 on MSYS2.
Avoid msys2 path conversion which does not work.
And print the real windows command when something fails.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
* rickard/configure-defaults/OTP-11723:
Always default to disabled floating point exceptions on Linux
|
| |
| |
| |
| |
| | |
This since there exist unresolved stability issues in the implementation
for Linux.
|
|/ |
|
| |
|
| |
|
|
|
|
|
| |
Update versions of OTP, erts, kernel, and stdlib to comply with
the new version scheme decided by the OTP technical board.
|
| |
|