Skip to content

Commit

Permalink
tools/docker: disable python artifacts generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Nov 23, 2022
1 parent c35669c commit eed27aa
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tools/docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ $(foreach platform,${PLATFORMS},$(eval $(call build_platform,${platform})))

# List language dependent stages
LANGS := cpp dotnet java python
LANGS_EXPORT := cpp dotnet java
LANG_STAGES := build archive

define build_lang_stage =
Expand Down Expand Up @@ -548,7 +549,7 @@ define export_distro =
$$(foreach lang,${LANGS},$$(eval $$(call export_archive,$1,$2,$${lang})))

.PHONY: $1_$2_export
$1_$2_export: $(addprefix $1_$2_, $(addsuffix _export, ${LANGS}))
$1_$2_export: $(addprefix $1_$2_, $(addsuffix _export, ${LANGS_EXPORT}))

.PHONY: clean_$1_$2_export
clean_$1_$2_export: $(addprefix clean_$1_$2_, $(addsuffix _export, ${LANGS}))
Expand Down Expand Up @@ -591,7 +592,7 @@ build_targets := $(addprefix $1_, ${STAGES} export) \
$${build_targets}: $1_%: $(addprefix $1_, $(addsuffix _%, ${DISTROS}))

.PHONY: $1_export
$1_export: $1_cpp_export $1_dotnet_export $1_java_export $1_python_export
$1_export: $1_cpp_export $1_dotnet_export $1_java_export #$1_python_export

clean_targets := $(addprefix clean_$1_, ${STAGES} export) \
$(addprefix clean_$1_cpp_, ${LANG_STAGES} export) \
Expand Down Expand Up @@ -696,8 +697,12 @@ clean: \

.PHONY: distclean
distclean: clean
-docker container rm -f $$(docker container ls -f status=exited -q)
-docker image rm -f $$(docker image ls --all -q)
-docker container ls -a
-docker container prune -f
-docker image ls -a
-docker image prune -a -f
-docker system df
-docker system prune -a -f
-rm -rf export

##########################
Expand Down

0 comments on commit eed27aa

Please sign in to comment.