Skip to content

buildlocal undesirably cleans the installation directory #3

Description

@suvarchal

Level

CRITICAL

Component

RUNTIME / PYTHON BINDING / C BINDING / MONITOR / TRACING / TESTS / INFRASTRUCTURE

Environment

Building compss from source, environment any

Description

./buildlocal $INSTALL_DIR cleans the install dir which i think is dangerous especially when used as root.
I wanted to install compps into in conda environment assuming compps installation will produce some /lib /bin and optionally /include files but it cleaned up all contents in the directory instead of appending. This can be dangerous when used as root and a user points to something like /usr/local.

Minimal example to reproduce

to reproduce see how contents of directory are replaced

export $INSTALL_DIR=.
./buildlocal $INSTALL_DIR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions