Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]Azure CI: Add OSX job using Conan #4070

Open
wants to merge 31 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
6873f5e
Add OSX job using Conan (probably needs conan_toolchain file from iss…
martin-frbg Jun 3, 2023
750aaa2
try to generate conanfile.py
martin-frbg Jun 9, 2023
cd6db9e
Update azure-pipelines.yml
martin-frbg Jun 9, 2023
8206bc6
Update azure-pipelines.yml
martin-frbg Jun 9, 2023
ca41625
Update azure-pipelines.yml
martin-frbg Jun 9, 2023
0cf6322
Update azure-pipelines.yml
martin-frbg Jun 10, 2023
f516704
Update azure-pipelines.yml
martin-frbg Jun 10, 2023
840c5b4
Update azure-pipelines.yml
martin-frbg Jun 10, 2023
607774b
Update azure-pipelines.yml
martin-frbg Jun 10, 2023
1d1cb1d
Update azure-pipelines.yml
martin-frbg Jun 10, 2023
a70b3ec
Update azure-pipelines.yml
martin-frbg Jun 10, 2023
eb63b05
Update azure-pipelines.yml
martin-frbg Jun 11, 2023
e98f8cf
Update azure-pipelines.yml
martin-frbg Jun 11, 2023
3cdbe67
Update azure-pipelines.yml
martin-frbg Jun 11, 2023
38b93a1
Update azure-pipelines.yml
martin-frbg Jun 13, 2023
b57bad4
Update azure-pipelines.yml
martin-frbg Jun 14, 2023
49c4f95
Update azure-pipelines.yml
martin-frbg Jun 14, 2023
5ecb6c4
Update azure-pipelines.yml
martin-frbg Jun 14, 2023
1495c63
Update azure-pipelines.yml
martin-frbg Jun 15, 2023
a9e2563
Update azure-pipelines.yml
martin-frbg Jun 15, 2023
ceb7cc2
Update azure-pipelines.yml
martin-frbg Jun 15, 2023
3675316
Update azure-pipelines.yml
martin-frbg Jun 17, 2023
bf2d581
Update azure-pipelines.yml
martin-frbg Jun 17, 2023
03b88cb
Update azure-pipelines.yml
martin-frbg Jun 17, 2023
4861fe5
rework conan build again to ensure it uses xcode build files
martin-frbg Jun 19, 2023
36d6154
Update azure-pipelines.yml
martin-frbg Jun 19, 2023
c1c14d4
Update azure-pipelines.yml
martin-frbg Jun 20, 2023
9f3ef62
Update azure-pipelines.yml
martin-frbg Jun 20, 2023
a73c38b
Update azure-pipelines.yml
martin-frbg Jun 20, 2023
cc40f3f
Update azure-pipelines.yml
martin-frbg Jun 20, 2023
0441a49
Update azure-pipelines.yml
martin-frbg Jun 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 32 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- job: manylinux1_gcc
pool:
vmImage: 'ubuntu-latest'
steps:
steps:
- script: |
echo "FROM quay.io/pypa/manylinux1_x86_64
COPY . /tmp/openblas
Expand Down Expand Up @@ -271,6 +271,37 @@ jobs:
- script: |
make TARGET=ARMV7 DYNAMIC_ARCH=1 NUM_THREADS=32 HOSTCC=clang NOFORTRAN=1

- job: OSX_IOS_CONAN
pool:
vmImage: 'macOS-11'
variables:
CC: /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
CFLAGS: -O2
#-Wno-macro-redefined -isysroot /Applications/Xcode_12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk -arch arm64 -miphoneos-version-min=10.0
steps:
- script: |
brew update
brew install conan
conan profile detect
ln -s . OpenBLAS
wget https://gist.github.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/b0a86e814165e920727ee8d7a758f7f6a3bf80eb/conanfile.py
conan build .
ls -l build
ls -l build/generators
cp build/generators/conan_toolchain.cmake .
cat conan_toolchain.cmake
cmake -G ""Xcode"" -T buildsystem=1 -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="OpenBLAS" -DNOFORTRAN="ON" -DBUILD_WITHOUT_LAPACK="ON" \
-DBUILD_LAPACK_DEPRECATED="OFF" -DBUILD_TESTING="OFF" -DUSE_THREAD="ON" -DMSVC_STATIC_CRT="OFF" -DBUILD_STATIC_LIBS="ON" -DBUILD_SHARED_LIBS="OFF" \
-DONLY_CBLAS="1" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "OpenBLAS"
ls -l
cat OpenBLAS.xcodeproj
xcodebuild -project OpenBLAS.xcodeproj build -target ALL_BUILD -configuration RelWithDebInfo -hideShellScriptEnvironment
ls -lR build
cmake --install build
# conan build .
# cmake -G ""Xcode"" -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="OpenBLAS" -DNOFORTRAN="ON" -DBUILD_WITHOUT_LAPACK="ON" -DBUILD_LAPACK_DEPRECATED="OFF" -DBUILD_TESTING="OFF" -DUSE_THREAD="ON" -DMSVC_STATIC_CRT="OFF" -DBUILD_STATIC_LIBS="ON" -DBUILD_SHARED_LIBS="OFF" -DONLY_CBLAS="1" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "OpenBLAS"
# xcodebuild -project OpenBLAS.xcodeproj build -target ALL_BUILD -configuration RelWithDebInfo -hideShellScriptEnvironment

- job: ALPINE_MUSL
pool:
vmImage: 'ubuntu-latest'
Expand Down