Skip to content

Commit

Permalink
util: add design and platform files to make issue
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Bandeira <vvbandeira@precisioninno.com>
  • Loading branch information
Vitor Bandeira committed Jan 23, 2024
1 parent 0ea2309 commit 6f679e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion flow/util/makeIssue.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,19 @@ tar --use-compress-program=${COMPRESS} \
--ignore-failed-read -chf $1_${ISSUE_TAG}.tar.gz \
--transform="s|^|$1_${ISSUE_TAG}/|S" \
--transform="s|^$1_${ISSUE_TAG}${FLOW_HOME}/|$1_${ISSUE_TAG}/|S" \
$DESIGN_DIR \
$LOG_DIR \
$OBJECTS_DIR \
$REPORTS_DIR \
$RESULTS_DIR \
$PLATFORM_DIR \
$SCRIPTS_DIR \
$(for f in $ISSUE_CP_FILES; do echo $f; done | sort | uniq)

if [ -v EXCLUDE_PLATFORM ]; then
# Remove liberty and lef files from tar file
gunzip -f $1_${ISSUE_TAG}.tar.gz
tar --list --file $1_${ISSUE_TAG}.tar | grep -iE "*.(lib|lef|tlef)$$" | xargs -r tar --delete --file $1_${ISSUE_TAG}.tar
tar --list --file $1_${ISSUE_TAG}.tar | grep -iE "*.(lib|lef|tlef)$" | xargs -r tar --delete --file $1_${ISSUE_TAG}.tar
gzip $1_${ISSUE_TAG}.tar
fi

Expand Down
1 change: 0 additions & 1 deletion flow/util/utils.mk
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ endef
export UNSET_VARIABLES_NAMES := $(call get_variables,command% line environment% default automatic)
export ISSUE_VARIABLES_NAMES := $(call get_variables,environment% default automatic)
export ISSUE_VARIABLES := $(foreach V, $(ISSUE_VARIABLES_NAMES), $(if $($V),$V=$($V),$V='')${\n})

export COMMAND_LINE_ARGS := $(foreach V,$(.VARIABLES),$(if $(filter command% line, $(origin $V)),$(V)))

$(foreach script,$(ISSUE_SCRIPTS),$(script)_issue): %_issue : versions.txt
Expand Down

0 comments on commit 6f679e1

Please sign in to comment.