| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The hybrid heap emulator was last working in the non-SMP R11B
run-time system. When the constant pools were introduced in R12B,
the hybrid heap emulator was not updated to handle them.
At this point, the harm from reduced readability of the code is
greater than any potential usefulness of keeping the code.
|
| |
|
| |
|
| |
|
|
|
|
| |
Removed symbolic links from repository.
|
|
|
|
| |
Can still not setup -a, but cerl works.
|
|
|
|
| |
Still does not run, just compiles.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* sverk/hipe-without-fpe/OTP-9724:
otp_build: Disable FPE by default on Linux
stdlib: Make sure qlc_SUITE:otp_6964 restores backtrace_depth
erts: Add test for inf/NaN intermediate float results
hipe,erts: Allow hipe without floating point exceptions
hipe: Fix bug in hipe_rtl_lcm:calc_killed_expr_bb
erts: Rename macros used by float instructions without FPE
|
| |
| |
| |
| | |
FPE = floating point exceptions
|
|/
|
|
|
|
|
|
|
|
|
| |
Common file target.mk now passes the TARGET value through config.sub
for canonification.
Toplevel Makefile now calls target.mk so it handles TARGET like
all sub-makefiles.
Build script otp_build no longer creates a target specific directory
that a long time ago was used for target specific configure cache file.
|
| |
|