AcademySoftwareFoundation / AcademySoftwareFoundation/rez

rez-build with platform variants

Open
#484 2 comments 0 reactions 0 assignees View on GitHub
enhancement rez-build rez-release
Dominant language
Python
Stars
1.1k
Forks
369
Avg merge
12d 3h
Merged PRs (30d)
5

Description

Hey there.

I'm trying to do a rez-build --install with platform-windows and platform-linux as variants.
On a windows machine. The 2 first variant are platform-windows variant. The 3rd and 4th are Linux one.
So rez-build --install is doing the 2 first variant and error (and stop) on the 3rd.
Error: "The following package conflicts occurred: (platform-linux <--!--> ~platform==windows)"

The issue if I'm going to a Linux machine to build the Linux platform variant.
rez-build --install will error on the 1st variant.

I did change to the code to fix that:
rez-build is now continuing on error and printing how many variants were build successfully.

![image](https://user-images.githubusercontent.com/35566104/36422760-6081069c-1635-11e8-818e-5a415a08a047.png)

I would like to do a pull request of it. Can you grant me the access?

Regards,
Clement

Contributor guide

Open the contributing guide

Research direction

The issue names rez-build and the platform-variant build/install flow; start by tracing that command's variant processing and reproduce the conflict on Windows and Linux. Done means incompatible platform variants no longer stop the run, remaining variants are attempted, and the successful-build count is reported.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.