"git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "8657643845eca91379324d408d61d4b2d7fd9f41"
local_distribution.sh 334 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

# if dist and build directories exist, remove them
if [ -d dist ]; then
    rm -r dist
fi

python -m build --wheel -o dist

if [ $? -ne 0 ]; then
    echo "Error: Failed to build the wheel."
    exit 1
else
    echo "Wheel built successfully."
fi