Skip to content

Commit

Permalink
[BUILD] Build wheel with manylinux_2_28_x86_64 (#471)
Browse files Browse the repository at this point in the history
- build wheel with `manylinux_2_28_x86_64`
- v0.4.0 -> v0.4.1
  • Loading branch information
vadiklyutiy authored Jul 30, 2024
1 parent 981df04 commit a412bdf
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/actions/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ outputs:
description: 'the path to the generated wheel'
runs:
using: 'docker'
image: '../../scripts/wheel/dockerfiles/manylinux1/Dockerfile'
image: '../../scripts/wheel/dockerfiles/manylinux_2_28_x86_64/Dockerfile'
args:
- "bash"
- "./scripts/wheel/build_wheel.sh"
Expand Down
2 changes: 1 addition & 1 deletion python/hidet/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
__version__ = "0.4.0"
__version__ = "0.4.1"
2 changes: 1 addition & 1 deletion scripts/wheel/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fi

# build wheel
mkdir -p built_wheel;
cd built_wheel; pip wheel --no-deps ..; cd ..
cd built_wheel; pip3 wheel --no-deps ..; cd ..

# remove all intermediate directories
rm -rf ./python
Expand Down
2 changes: 1 addition & 1 deletion scripts/wheel/dockerfiles/manylinux1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/pypa/manylinux_2_28_x86_64 as base
FROM quay.io/pypa/manylinux1_x86_64 as base

RUN yum install -y vim htop

Expand Down
6 changes: 6 additions & 0 deletions scripts/wheel/dockerfiles/manylinux_2_28_x86_64/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM quay.io/pypa/manylinux_2_28_x86_64 as base

# Install pip
RUN python3 -m ensurepip --upgrade

RUN pip3 install wheel
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

setup(
name="hidet",
version="0.4.0",
version="0.4.1",
description="Hidet: a compilation-based DNN inference framework.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
Expand Down

0 comments on commit a412bdf

Please sign in to comment.