mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 13:17:55 +08:00
[OpenBLAS] Upgrade to 0.3.9 + a patch to fix AVX512 (which is now present on the VMs)
This commit is contained in:
parent
7ebf6648d8
commit
6aab6e0d3d
@ -1,5 +1,5 @@
|
||||
Source: openblas
|
||||
Version: 0.3.7
|
||||
Version: 0.3.9-1
|
||||
Homepage: https://github.com/xianyi/OpenBLAS
|
||||
Build-Depends: pthread (linux)
|
||||
Description: OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
|
||||
|
23
ports/openblas/github_2481.patch
Normal file
23
ports/openblas/github_2481.patch
Normal file
@ -0,0 +1,23 @@
|
||||
From 21f6c4b5a972683f7228e5ad446bc940947c2d2b Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?=D9=85=D9=87=D8=AF=D9=8A=20=D8=B4=D9=8A=D9=86=D9=88=D9=86?=
|
||||
=?UTF-8?q?=20=28Mehdi=20Chinoune=29?= <chinoune.mehdi@gmail.com>
|
||||
Date: Mon, 2 Mar 2020 17:22:28 +0100
|
||||
Subject: [PATCH] fixes #2480
|
||||
|
||||
---
|
||||
cmake/cc.cmake | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cmake/cc.cmake b/cmake/cc.cmake
|
||||
index 22217575c..d5551147c 100644
|
||||
--- a/cmake/cc.cmake
|
||||
+++ b/cmake/cc.cmake
|
||||
@@ -99,7 +99,7 @@ endif ()
|
||||
if (${CORE} STREQUAL "SKYLAKEX")
|
||||
if (NOT DYNAMIC_ARCH)
|
||||
if (NOT NO_AVX512)
|
||||
- set (CCOMMON_OPT = "${CCOMMON_OPT} -march=skylake-avx512")
|
||||
+ set (CCOMMON_OPT "${CCOMMON_OPT} -march=skylake-avx512")
|
||||
endif ()
|
||||
endif ()
|
||||
endif ()
|
@ -3,13 +3,14 @@ include(vcpkg_common_functions)
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO xianyi/OpenBLAS
|
||||
REF 5f36f18148603facb6c3540e673610d6b24cbfbb # v0.3.7
|
||||
SHA512 c1abcfd6fbf6ae3efa28053523ffb3d72aefaa279594347bfd9910c40f25778421b8d1d2d4dc6c934c9def40642942bb74fe76e06c2d96b1898ea61204a95540
|
||||
REF v0.3.9
|
||||
SHA512 e34da25b3aaf959ec12826ac68c81e739e453d44f2dba28b15e57d7a827edc4d5f42988e9b6d98ac07999940be7b5876246cb3a980e590ae87f77f4c2f12f40a
|
||||
HEAD_REF develop
|
||||
PATCHES
|
||||
uwp.patch
|
||||
fix-space-path.patch
|
||||
fix-redefinition-function.patch
|
||||
github_2481.patch
|
||||
)
|
||||
|
||||
find_program(GIT NAMES git git.cmd)
|
||||
|
@ -6,26 +6,24 @@
|
||||
sudo apt -y update
|
||||
sudo apt -y dist-upgrade
|
||||
# Install common build dependencies and partitioning tools
|
||||
sudo apt -y install at curl unzip tar libxt-dev gperf libxaw7-dev cifs-utils build-essential zip libx11-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev mesa-common-dev libxinerama-dev libxcursor-dev yasm nasm libnuma1 libnuma-dev python-six python3-six python-yaml flex libbison-dev autoconf libudev-dev libncurses5-dev libtool libxrandr-dev xutils-dev dh-autoreconf libgles2-mesa-dev ruby-full pkg-config
|
||||
sudo apt -y install at curl unzip tar libxt-dev gperf libxaw7-dev cifs-utils build-essential g++ zip libx11-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev mesa-common-dev libxinerama-dev libxcursor-dev yasm libnuma1 libnuma-dev python-six python3-six python-yaml flex libbison-dev autoconf libudev-dev libncurses5-dev libtool libxrandr-dev xutils-dev dh-autoreconf libgles2-mesa-dev ruby-full pkg-config
|
||||
# Required by qt5-x11extras
|
||||
sudo apt -y install libxkbcommon-dev libxkbcommon-x11-dev
|
||||
# Required by libhdfs3
|
||||
sudo apt -y install libkrb5-dev
|
||||
# Required by intel-ipsec
|
||||
sudo apt -y install nasm
|
||||
|
||||
# Install newer version of nasm than the apt package
|
||||
# Install newer version of nasm than the apt package, required by intel-ipsec
|
||||
mkdir /tmp/nasm
|
||||
cd /tmp/nasm
|
||||
curl -O https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/nasm-2.14.02.tar.gz
|
||||
tar -xf nasm-2.14.02.tar.gz
|
||||
cd nasm-2.14.02/
|
||||
./configure --prefix=/usr && make
|
||||
./configure --prefix=/usr && make -j
|
||||
sudo make install
|
||||
cd ~
|
||||
|
||||
# Install the latest Haskell stack
|
||||
curl -sSL https://get.haskellstack.org/ | sh
|
||||
curl -sSL https://get.haskellstack.org/ | sudo sh
|
||||
|
||||
# Install CUDA
|
||||
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.2.89-1_amd64.deb
|
||||
|
Loading…
Reference in New Issue
Block a user