Skip to content

Commit

Permalink
build: fix ivy package-dist generation (angular#26629)
Browse files Browse the repository at this point in the history
PR Close angular#26629
  • Loading branch information
gregmagolan authored and FrederikSchlemmer committed Jan 3, 2019
1 parent bdf3e19 commit 63753cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/build-packages-dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ buildTargetPackages "$LEGACY_TARGETS" "dist/packages-dist" "legacy" "Production"

IVY_JIT_TARGETS=`bazel query --output=label 'attr("tags", "\[.*ivy-jit.*\]", //packages/...) intersect kind(".*_package", //packages/...)'`
IVY_LOCAL_TARGETS=`bazel query --output=label 'attr("tags", "\[.*ivy-local.*\]", //packages/...) intersect kind(".*_package", //packages/...)'`

# A clean is needed since build artifacts from previous build can break the following build
bazel clean
buildTargetPackages "$IVY_JIT_TARGETS" "dist/packages-dist-ivy-jit" "jit" "Ivy JIT"

# A clean is needed since build artifacts from previous build can break the following build
bazel clean
buildTargetPackages "$IVY_LOCAL_TARGETS" "dist/packages-dist-ivy-local" "local" "Ivy AOT"

0 comments on commit 63753cd

Please sign in to comment.