mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 09:07:10 +08:00
support build cpu images (#341)
This commit is contained in:
@@ -12,7 +12,18 @@
|
||||
# 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.
|
||||
WITH_GPU=${1:-ON}
|
||||
|
||||
sh build_fd_vison.sh
|
||||
sh build_fd_runtime.sh
|
||||
sh build_fd_backend.sh
|
||||
if [ $WITH_GPU == "ON" ]; then
|
||||
|
||||
sh build_fd_vison.sh ON
|
||||
sh build_fd_runtime.sh ON
|
||||
sh build_fd_backend.sh ON
|
||||
|
||||
else
|
||||
|
||||
sh build_fd_vison.sh OFF
|
||||
sh build_fd_runtime.sh OFF
|
||||
sh build_fd_backend.sh OFF
|
||||
|
||||
fi
|
||||
|
Reference in New Issue
Block a user