You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2023/02/24 18:28:26 UTC

[tvm] 01/02: bring back Jenkins makefile and requirements.txt

This is an automated email from the ASF dual-hosted git repository.

areusch pushed a commit to branch areusch/fix-branch-release-ci
in repository https://gitbox.apache.org/repos/asf/tvm.git

commit c91ff47bc646b545ab5eb538d004a4d0fbabbd40
Author: Andrew Reusch <ar...@gmail.com>
AuthorDate: Fri Feb 24 10:27:21 2023 -0800

    bring back Jenkins makefile and requirements.txt
---
 ci/jenkins/Makefile         | 27 +++++++++++++++++++++++++++
 ci/jenkins/requirements.txt |  1 +
 2 files changed, 28 insertions(+)

diff --git a/ci/jenkins/Makefile b/ci/jenkins/Makefile
new file mode 100644
index 0000000000..5c9e0ac540
--- /dev/null
+++ b/ci/jenkins/Makefile
@@ -0,0 +1,27 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, 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.
+
+_venv: requirements.txt
+	rm -rf _venv
+	python3 -mvenv _venv
+	_venv/bin/pip3 install -r requirements.txt
+
+all: _venv
+	_venv/bin/python3 generate.py
+
+.PHONY: all venv
+.DEFAULT_GOAL=all
diff --git a/ci/jenkins/requirements.txt b/ci/jenkins/requirements.txt
new file mode 100644
index 0000000000..d8086eca6e
--- /dev/null
+++ b/ci/jenkins/requirements.txt
@@ -0,0 +1 @@
+Jinja2>=3.0.0