Skip to content

Commit

Permalink
move USE_REPO_LIB_SRC into Makefiles
Browse files Browse the repository at this point in the history
Signed-off-by: David Wood <dawood@us.ibm.com>
  • Loading branch information
daw3rd committed Oct 4, 2024
1 parent 1122824 commit 8ad1954
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 14 deletions.
7 changes: 3 additions & 4 deletions transforms/universal/noop/kfp_ray/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
REPOROOT=${CURDIR}/../../../../

# Include the common configuration for this transform, which may configure
# later includes
include ../transform.config

WORKFLOW_VENV_ACTIVATE=${REPOROOT}/transforms/venv/bin/activate
include $(REPOROOT)/transforms/.make.workflows

# Include the common configuration for this transform
include ../transform.config

SRC_DIR=${CURDIR}/../ray/

PYTHON_WF := $(shell find ./ -name '*_wf.py')
Expand Down
12 changes: 8 additions & 4 deletions transforms/universal/noop/python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@
# know where they are running from.
REPOROOT=../../../..

# Include the common configuration for this transform, which may configure
# later includes
include ../transform.config
# Set this, before including .make.defaults, to
# 1 if requirements reference the latest code in the data processing library
# in this repo (that is not yet published to pypi). This is the default setting.
# 0 if the transforms DPK dependencies are on wheels published to
# pypi (e.g. data-prep-toolkit=0.2.1)
#USE_REPO_LIB_SRC=1

# Include a library of common .transform.* targets which most
# transforms should be able to reuse. However, feel free
# to override/redefine the rules below.
include $(REPOROOT)/transforms/.make.transforms


# Include the common configuration for this transform
include ../transform.config

venv:: .transforms.python-venv

Expand Down
13 changes: 10 additions & 3 deletions transforms/universal/noop/ray/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,22 @@
# know where they are running from.
REPOROOT=../../../..

# Include the common configuration for this transform, which may configure
# later includes
include ../transform.config
# Set this, before including .make.defaults, to
# 1 if requirements reference the latest code in the data processing library
# in this repo (that is not yet published to pypi). This is the default setting.
# 0 if the transforms DPK dependencies are on wheels published to
# pypi (e.g. data-prep-toolkit=0.2.1)
#USE_REPO_LIB_SRC=1

# Include a library of common .transform.* targets which most
# transforms should be able to reuse. However, feel free
# to override/redefine the rules below.
include $(REPOROOT)/transforms/.make.transforms

# Include the common configuration for this transform
include ../transform.config


BASE_IMAGE=${RAY_BASE_IMAGE}

venv:: .transforms.ray-venv
Expand Down
12 changes: 9 additions & 3 deletions transforms/universal/noop/spark/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@
# know where they are running from.
REPOROOT=../../../..

# Include the common configuration for this transform, which may configure
# later includes
include ../transform.config
# Set this, before including .make.defaults, to
# 1 if requirements reference the latest code in the data processing library
# in this repo (that is not yet published to pypi). This is the default setting.
# 0 if the transforms DPK dependencies are on wheels published to
# pypi (e.g. data-prep-toolkit=0.2.1)
#USE_REPO_LIB_SRC=1

# Include a library of common .transform.* targets which most
# transforms should be able to reuse. However, feel free
# to override/redefine the rules below.
include $(REPOROOT)/transforms/.make.transforms

# Include the common configuration for this transform
include ../transform.config

venv:: .transforms.spark-venv

test:: .transforms.spark-test
Expand Down

0 comments on commit 8ad1954

Please sign in to comment.