Skip to content
This repository was archived by the owner on Dec 20, 2017. It is now read-only.
This repository was archived by the owner on Dec 20, 2017. It is now read-only.

Please check the format of souffle-compile's input file #17

@Neuromancer42

Description

@Neuromancer42

In the souffle-compile script file, line 40-48, i,e,

 exe=`basename $1 .cpp`
    OMP_FLAG="-fopenmp"
    NUM_THREADS=$3
    if [ "$2" = "seq" -o "$3" = "seq" ]
    then
        OMP_FLAG=""
        NUM_THREADS=""
    fi
    rm -f ./$exe

I guess these lines are aimed to remove the (wrongly) compiled results. However, if the input file's suffix is not ".cpp", the $exe variable would be name of the file itself, and wrongly remove the file. I think it would be better to add a file type check step before these operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions