configure/ISA-L: Move log file to submodule directory
Running configure script by multiple users on the same machine leads to access to the same ISA-L log file which is created with read access for user's group. As the result only the user who created this file can modify it and other users will receive "permission denied" error. Move this log file to the local ISA-L directory to prevent access by multiple users Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com> Signed-off-by: Evgeniy Kochetov <evgeniik@mellanox.com> Change-Id: I1862738bc0ba242c98816a22dc39bd11ef5d02dd Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/473855 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
3cf9ff7495
commit
e4aee795c0
2
configure
vendored
2
configure
vendored
@ -580,7 +580,7 @@ if [[ "${CONFIG[ISAL]}" = "y" ]]; then
|
||||
CONFIG[REDUCE]=n
|
||||
else
|
||||
cd $rootdir/isa-l
|
||||
ISAL_LOG=/tmp/spdk-isal.log
|
||||
ISAL_LOG=$rootdir/isa-l/spdk-isal.log
|
||||
echo -n "Configuring ISA-L (logfile: $ISAL_LOG)..."
|
||||
./autogen.sh &> $ISAL_LOG
|
||||
./configure CFLAGS="-fPIC -g -O2" --enable-shared=no >> $ISAL_LOG 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user