!5765 trc_gen.py生成脚本改为python3执行
Merge pull request !5765 from zhangxubo/master
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
#This is the main CMAKE for build all components.
|
||||
execute_process(
|
||||
COMMAND python ./script/trc_gen.py -s ./config/ -o ${CMAKE_CURRENT_SOURCE_DIR}/../../include/gstrace
|
||||
COMMAND python3 ./script/trc_gen.py -s ./config/ -o ${CMAKE_CURRENT_SOURCE_DIR}/../../include/gstrace
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
|
||||
@ -45,7 +45,7 @@ all: $(HEADERFILE)
|
||||
install: all
|
||||
|
||||
$(HEADERFILE): $(CONFIGFILE)
|
||||
python ./script/trc_gen.py -s ./config/ -o ./../../include/gstrace
|
||||
python3 ./script/trc_gen.py -s ./config/ -o ./../../include/gstrace
|
||||
|
||||
clean:
|
||||
rm -f ./../../include/gstrace/*_gstrace.h
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
# coding=utf-8
|
||||
#
|
||||
# Copyright (c) 2020 Huawei Technologies Co.,Ltd.
|
||||
|
||||
Reference in New Issue
Block a user