Skip to content

fix npusim.sh ccopt-related typo#2

Open
GeorgeLin200100 wants to merge 1 commit intoyonseicasl:mainfrom
GeorgeLin200100:main
Open

fix npusim.sh ccopt-related typo#2
GeorgeLin200100 wants to merge 1 commit intoyonseicasl:mainfrom
GeorgeLin200100:main

Conversation

@GeorgeLin200100
Copy link

In npusim.sh:

# Using integer
USER_INTEGER=1
# Using float 
USER_FLOAT=0
# ...
if [[ $USE_INTEGER -eq 1 ]]; then
    ccopt+=" -DUSER_INTEGER"
fi
if [[ $USE_FLOAT -eq 1 ]]; then
    ccopt +=" -DUSER_FLOAT"
fi

USER_INTEGER VS. USE_INTEGER && USE_FLOAT VS. USER_FLOAT conflicts, causing ./npusim.sh build all failed with data_t.value not found. This PR fixed this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants