config_host.mk.in |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 0a3e1df7af87d5917e13c82b747cff27f20cb29a
Author:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
AuthorDate: Mon Sep 30 12:52:55 2024 +0200
Commit:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
CommitDate: Tue Oct 1 11:36:48 2024 +0200

    also set TMP in addition to TMPDIR
    
    primarily for Windows where unittests also use Windows' GetTempPathW
    function that prefers TMP over TEMP over USERPROFILE over the windows
    directory/doesn't respect TMPDIR
    
    Unittests not using TMPDIR is annoying since bitdefender will block
    access on some CVE tests. While you can create "dev drives" now that
    also allow you to disable AV-scanning permanently on those, that of
    course won't help when the files are created outside the devdrive/in the
    default temporary directory.
    
    Using TEMPDIR allows to specify the dir in autogen.input and the user
    won't have to add the regular temp-dir to AV-exclusions or remember to
    always disable the real-time-scanning before starting a build.
    
    Change-Id: I47349e4318e8de99e45961a4989975cf4081fc07
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174267
    Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
    Tested-by: Jenkins

diff --git a/config_host.mk.in b/config_host.mk.in
index fcc5a8b904a1..15b82b07ffb2 100644
--- a/config_host.mk.in
+++ b/config_host.mk.in
@@ -734,6 +734,7 @@ export TARFILE_LOCATION=@TARFILE_LOCATION@
 export TESTINSTALLDIR=@TESTINSTALLDIR@
 export THES_SYSTEM_DIR=@THES_SYSTEM_DIR@
 export TLS=@TLS@
+export TMP=@TEMP_DIRECTORY@
 export TMPDIR=@TEMP_DIRECTORY@
 export TOUCH=@TOUCH@
 export UCRTSDKDIR=@UCRTSDKDIR@

Reply via email to