Skip to content

Commit

Permalink
[GVSOC] Switch to new stand-alone repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Germain Haugou authored and haugoug committed Oct 17, 2023
1 parent f86ca18 commit 94f22ed
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 11 deletions.
10 changes: 4 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[submodule "tools/gvsoc/pulp"]
path = tools/gvsoc/pulp
url = ../gvsoc_pulp.git
[submodule "tools/gvsoc/common"]
path = tools/gvsoc/common
url = https://github.com/GreenWaves-Technologies/gvsoc.git

[submodule "tools/gvsoc"]
path = tools/gvsoc
url = https://github.com/gvsoc/gvsoc.git
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if(CCACHE_FOUND)
set(CMAKE_CXX_COMPILER_LAUNCHER ccache)
endif()

add_subdirectory(tools/gvsoc/common)
add_subdirectory(tools/gvsoc/core)

## Install pip requirements, note: does not install nntool reqs as building
## will do that
Expand Down
2 changes: 1 addition & 1 deletion configs/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export PULP_CONFIGS_PATH=$PULP_SDK_HOME/tools/gap-configs/configs:$PULP_CONFIGS_
export PATH=$PULP_SDK_HOME/tools/gapy_v2/bin:$PATH

# GVSOC
export GVSOC_MODULES="${GAP_SDK_HOME}/tools/gvsoc/common;${GAP_SDK_HOME}/tools/gvsoc/pulp"
export GVSOC_MODULES="${GAP_SDK_HOME}/tools/gvsoc/core;${GAP_SDK_HOME}/tools/gvsoc/pulp"
export GVSOC_TARGETS="$GAPY_V2_TARGET"


Expand Down
2 changes: 1 addition & 1 deletion rtos/pulpos/common/rules/pulpos/default_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ endif

ifeq '$(use_gvsoc_target)' '1'
GAPY_TARGET_OPT += $(foreach module,$(subst ;, , $(GVSOC_MODULES)),--target-dir=$(module)/models)
GAPY_TARGET_OPT += --install-dir=$(INSTALL_DIR)/python
GAPY_TARGET_OPT += --model-dir=$(INSTALL_DIR)/models
else
GAPY_TARGET_OPT += --target-dir=$(PULP_SDK_HOME)/tools/gapy/targets
endif
Expand Down
1 change: 1 addition & 0 deletions tools/gvsoc
Submodule gvsoc added at 26a6ac
1 change: 0 additions & 1 deletion tools/gvsoc/common
Submodule common deleted from 6db10a
1 change: 0 additions & 1 deletion tools/gvsoc/pulp
Submodule pulp deleted from 8de9e6

0 comments on commit 94f22ed

Please sign in to comment.