From 6873f5e94681f46513706564de401bf9ca04e60f Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 3 Jun 2023 13:04:00 +0200 Subject: [PATCH 01/31] Add OSX job using Conan (probably needs conan_toolchain file from issue4051) --- azure-pipelines.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 16b9da4f59..947e1262e1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -271,6 +271,19 @@ 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 + 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' From 750aaa24b94e25eb83e337939a37ac6827c3462e Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 9 Jun 2023 19:25:10 +0200 Subject: [PATCH 02/31] try to generate conanfile.py --- azure-pipelines.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 947e1262e1..d7deded2e7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -281,8 +281,10 @@ jobs: - script: | brew update brew install conan - 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 + echo -e "tc=CMakeToolchain(self)\n tc.generate \ cmake=CMake(self)\n cmake.configure() \n cmake.build()\n" >conanfile.py + 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: From cd6db9e08b48e2c5cee877fb702ef682e4c9aa82 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 9 Jun 2023 21:57:46 +0200 Subject: [PATCH 03/31] Update azure-pipelines.yml --- azure-pipelines.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d7deded2e7..21850076ba 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -281,8 +281,9 @@ jobs: - script: | brew update brew install conan - echo -e "tc=CMakeToolchain(self)\n tc.generate \ cmake=CMake(self)\n cmake.configure() \n cmake.build()\n" >conanfile.py - conan build +# echo -e "tc=CMakeToolchain(self)\n tc.generate \ cmake=CMake(self)\n cmake.configure() \n cmake.build()\n" >conanfile.py + conan new + 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 From 8206bc63240bd3198bc31dc26e65c114da678bf9 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 9 Jun 2023 22:49:59 +0200 Subject: [PATCH 04/31] Update azure-pipelines.yml --- azure-pipelines.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 21850076ba..0cf9422080 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -281,9 +281,10 @@ jobs: - script: | brew update brew install conan + conan new + conan build # echo -e "tc=CMakeToolchain(self)\n tc.generate \ cmake=CMake(self)\n cmake.configure() \n cmake.build()\n" >conanfile.py - conan new - conan 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 From ca41625eec8a23a0cc14dabb07e91ae54bd31380 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 10 Jun 2023 00:26:13 +0200 Subject: [PATCH 05/31] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0cf9422080..20c1c0b459 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -281,7 +281,7 @@ jobs: - script: | brew update brew install conan - conan new + conan new cmake_lib -d name=openblas conan build # echo -e "tc=CMakeToolchain(self)\n tc.generate \ cmake=CMake(self)\n cmake.configure() \n cmake.build()\n" >conanfile.py # conan build From 0cf6322206f21c900d6d97b353ead1b8ce25abcd Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 10 Jun 2023 08:33:51 +0200 Subject: [PATCH 06/31] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 20c1c0b459..37951bfc69 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -281,7 +281,7 @@ jobs: - script: | brew update brew install conan - conan new cmake_lib -d name=openblas + conan new cmake_lib -d name=openblas -d version=1.0 conan build # echo -e "tc=CMakeToolchain(self)\n tc.generate \ cmake=CMake(self)\n cmake.configure() \n cmake.build()\n" >conanfile.py # conan build From f516704df8e062046b02b46fac8648df0ebd1711 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 10 Jun 2023 11:54:51 +0200 Subject: [PATCH 07/31] Update azure-pipelines.yml --- azure-pipelines.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 37951bfc69..79a79369a2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -281,10 +281,8 @@ jobs: - script: | brew update brew install conan - conan new cmake_lib -d name=openblas -d version=1.0 + echo -e "from conans import ConanFile\nfrom conan.tools.cmake import CMakeToolchain, CMake, cmake_layout\n tc=CMakeToolchain(self)\n tc.generate \ cmake=CMake(self)\n cmake.configure() \n cmake.build()\n" >conanfile.py conan build -# echo -e "tc=CMakeToolchain(self)\n tc.generate \ cmake=CMake(self)\n cmake.configure() \n cmake.build()\n" >conanfile.py -# 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 From 840c5b4d7e3fe20204cd3997b34104c2fa3c1af6 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 10 Jun 2023 15:25:58 +0200 Subject: [PATCH 08/31] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 79a79369a2..1a63b3ee62 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -282,7 +282,7 @@ jobs: brew update brew install conan echo -e "from conans import ConanFile\nfrom conan.tools.cmake import CMakeToolchain, CMake, cmake_layout\n tc=CMakeToolchain(self)\n tc.generate \ cmake=CMake(self)\n cmake.configure() \n cmake.build()\n" >conanfile.py - conan 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 From 607774b7f82454a50e41592fec6b616c68d49a02 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 10 Jun 2023 17:19:38 +0200 Subject: [PATCH 09/31] Update azure-pipelines.yml --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1a63b3ee62..89513891cf 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -281,6 +281,7 @@ jobs: - script: | brew update brew install conan + conan profile detect echo -e "from conans import ConanFile\nfrom conan.tools.cmake import CMakeToolchain, CMake, cmake_layout\n tc=CMakeToolchain(self)\n tc.generate \ cmake=CMake(self)\n cmake.configure() \n cmake.build()\n" >conanfile.py 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" From 1d1cb1dcc1dd4ae7a6e691f4a62af47b8d376a86 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 10 Jun 2023 18:03:08 +0200 Subject: [PATCH 10/31] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 89513891cf..5f1eb22442 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -282,7 +282,7 @@ jobs: brew update brew install conan conan profile detect - echo -e "from conans import ConanFile\nfrom conan.tools.cmake import CMakeToolchain, CMake, cmake_layout\n tc=CMakeToolchain(self)\n tc.generate \ cmake=CMake(self)\n cmake.configure() \n cmake.build()\n" >conanfile.py + echo -e "from conans import ConanFile\nfrom conan.tools.cmake import CMakeToolchain, CMake, cmake_layout\n\ntc=CMakeToolchain(self)\ntc.generate\n\ncmake=CMake(self)\ncmake.configure()\ncmake.build()\n" >conanfile.py 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 From a70b3ecec6c493132d14d9de1e827a78a3e4091e Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 10 Jun 2023 19:49:38 +0200 Subject: [PATCH 11/31] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5f1eb22442..26cc4977b9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -282,7 +282,7 @@ jobs: brew update brew install conan conan profile detect - echo -e "from conans import ConanFile\nfrom conan.tools.cmake import CMakeToolchain, CMake, cmake_layout\n\ntc=CMakeToolchain(self)\ntc.generate\n\ncmake=CMake(self)\ncmake.configure()\ncmake.build()\n" >conanfile.py + echo -e "from conan import ConanFile\nfrom conan.tools.cmake import CMakeToolchain, CMake, cmake_layout\n\ntc=CMakeToolchain(self)\ntc.generate\n\ncmake=CMake(self)\ncmake.configure()\ncmake.build()\n" >conanfile.py 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 From eb63b05578f509974fae8cbe0af3919fc04c426b Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sun, 11 Jun 2023 10:43:59 +0200 Subject: [PATCH 12/31] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 26cc4977b9..9f8fa01f56 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -282,7 +282,7 @@ jobs: brew update brew install conan conan profile detect - echo -e "from conan import ConanFile\nfrom conan.tools.cmake import CMakeToolchain, CMake, cmake_layout\n\ntc=CMakeToolchain(self)\ntc.generate\n\ncmake=CMake(self)\ncmake.configure()\ncmake.build()\n" >conanfile.py + echo -e "from conans import ConanFile, CMake\n\nclass OpenBLASConan(ConanFile):\n def build(self)\n tc=CMakeToolchain(self)\n tc.generate\n\n cmake=CMake(self)\n cmake.configure()\n cmake.build()\n" >conanfile.py 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 From e98f8cfc5921b3f05cecb85a9fb7327b80f180a0 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sun, 11 Jun 2023 19:14:38 +0200 Subject: [PATCH 13/31] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9f8fa01f56..6b62317d8a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -282,7 +282,7 @@ jobs: brew update brew install conan conan profile detect - echo -e "from conans import ConanFile, CMake\n\nclass OpenBLASConan(ConanFile):\n def build(self)\n tc=CMakeToolchain(self)\n tc.generate\n\n cmake=CMake(self)\n cmake.configure()\n cmake.build()\n" >conanfile.py + echo -e "from conans import ConanFile, CMake\n\nclass OpenBLASConan(ConanFile):\n def build(self):\n tc=CMakeToolchain(self)\n tc.generate\n\n cmake=CMake(self)\n cmake.configure()\n cmake.build()\n" >conanfile.py 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 From 3cdbe67adca5ba7a01ce513d33eda1cf0cc4cecd Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sun, 11 Jun 2023 19:58:46 +0200 Subject: [PATCH 14/31] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6b62317d8a..ca74573829 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -282,7 +282,7 @@ jobs: brew update brew install conan conan profile detect - echo -e "from conans import ConanFile, CMake\n\nclass OpenBLASConan(ConanFile):\n def build(self):\n tc=CMakeToolchain(self)\n tc.generate\n\n cmake=CMake(self)\n cmake.configure()\n cmake.build()\n" >conanfile.py + echo -e "from conan import ConanFile, CMake\n\nclass OpenBLASConan(ConanFile):\n def build(self):\n tc=CMakeToolchain(self)\n tc.generate\n\n cmake=CMake(self)\n cmake.configure()\n cmake.build()\n" >conanfile.py 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 From 38b93a1b3d8671c0509801293db0e7e3468be05f Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Tue, 13 Jun 2023 19:23:51 +0200 Subject: [PATCH 15/31] Update azure-pipelines.yml --- azure-pipelines.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ca74573829..0e3dfbb718 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -282,8 +282,10 @@ jobs: brew update brew install conan conan profile detect - echo -e "from conan import ConanFile, CMake\n\nclass OpenBLASConan(ConanFile):\n def build(self):\n tc=CMakeToolchain(self)\n tc.generate\n\n cmake=CMake(self)\n cmake.configure()\n cmake.build()\n" >conanfile.py - conan build . + wget https://gist.github.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/1022a66850773860120ce366d7d5c1668d1a7c5d/conanfile.py + conan build . +# echo -e "from conan import ConanFile, CMake\n\nclass OpenBLASConan(ConanFile):\n def build(self):\n tc=CMakeToolchain(self)\n tc.generate\n\n cmake=CMake(self)\n cmake.configure()\n cmake.build()\n" >conanfile.py +# 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 From b57bad4e3683d4da24fd4167ab5ba02fcb086b65 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 14 Jun 2023 11:34:09 +0200 Subject: [PATCH 16/31] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0e3dfbb718..fe3cdd3236 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -282,7 +282,7 @@ jobs: brew update brew install conan conan profile detect - wget https://gist.github.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/1022a66850773860120ce366d7d5c1668d1a7c5d/conanfile.py + wget https://gist.githubusercontent.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/7c125c26bab077ca412eea60cd7d5d9b6931490f/conanfile.py conan build . # echo -e "from conan import ConanFile, CMake\n\nclass OpenBLASConan(ConanFile):\n def build(self):\n tc=CMakeToolchain(self)\n tc.generate\n\n cmake=CMake(self)\n cmake.configure()\n cmake.build()\n" >conanfile.py # conan build . From 49c4f95bc84a27da61b4c5c57e2cfd8c33dd0adc Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 14 Jun 2023 15:55:01 +0200 Subject: [PATCH 17/31] Update azure-pipelines.yml --- azure-pipelines.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fe3cdd3236..4f035710f8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -282,9 +282,8 @@ jobs: brew update brew install conan conan profile detect - wget https://gist.githubusercontent.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/7c125c26bab077ca412eea60cd7d5d9b6931490f/conanfile.py - conan build . -# echo -e "from conan import ConanFile, CMake\n\nclass OpenBLASConan(ConanFile):\n def build(self):\n tc=CMakeToolchain(self)\n tc.generate\n\n cmake=CMake(self)\n cmake.configure()\n cmake.build()\n" >conanfile.py + wget https://gist.githubusercontent.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/64d5affbecf7cd5c81100e2ba4a7b9e091ef445e/conanfile.py + conan build . # echo -e "from conan import ConanFile, CMake\n\nclass OpenBLASConan(ConanFile):\n def build(self):\n tc=CMakeToolchain(self)\n tc.generate\n\n cmake=CMake(self)\n cmake.configure()\n cmake.build()\n" >conanfile.py # 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 From 5ecb6c472cbb3ffacfc5c3ea136486565b6797ef Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 14 Jun 2023 22:39:09 +0200 Subject: [PATCH 18/31] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4f035710f8..b1cf6d3ccc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -282,7 +282,7 @@ jobs: brew update brew install conan conan profile detect - wget https://gist.githubusercontent.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/64d5affbecf7cd5c81100e2ba4a7b9e091ef445e/conanfile.py + wget https://gist.githubusercontent.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/90f27f2298ddc385b1badb09ebdf19a416cad227/conanfile.py conan build . # echo -e "from conan import ConanFile, CMake\n\nclass OpenBLASConan(ConanFile):\n def build(self):\n tc=CMakeToolchain(self)\n tc.generate\n\n cmake=CMake(self)\n cmake.configure()\n cmake.build()\n" >conanfile.py # 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" From 1495c63443f051cadaebbd3363c0d7a8ab29874b Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 15 Jun 2023 14:33:26 +0200 Subject: [PATCH 19/31] Update azure-pipelines.yml --- azure-pipelines.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b1cf6d3ccc..9935caf907 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -282,8 +282,10 @@ jobs: brew update brew install conan conan profile detect - wget https://gist.githubusercontent.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/90f27f2298ddc385b1badb09ebdf19a416cad227/conanfile.py - conan build . # echo -e "from conan import ConanFile, CMake\n\nclass OpenBLASConan(ConanFile):\n def build(self):\n tc=CMakeToolchain(self)\n tc.generate\n\n cmake=CMake(self)\n cmake.configure()\n cmake.build()\n" >conanfile.py + wget https://gist.githubusercontent.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/a33310fa761ebe9311a25330c94fe3b258ff5298/conanfile.py + conan build . + ls -l lib + cmake --install # 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 From a9e2563e5c0b91f06edb350bb6daf7b81a5d3704 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 15 Jun 2023 15:48:13 +0200 Subject: [PATCH 20/31] Update azure-pipelines.yml --- azure-pipelines.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9935caf907..2195d1a3fd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -246,7 +246,7 @@ jobs: vmImage: 'macOS-11' steps: - script: | - brew update + brew updat brew install --cask android-ndk export ANDROID_NDK_HOME=/usr/local/share/android-ndk make TARGET=ARMV7 ONLY_CBLAS=1 CC=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/darwin-x86_64/bin/armv7a-linux-androideabi21-clang AR=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ar HOSTCC=gcc ARM_SOFTFP_ABI=1 -j4 @@ -276,7 +276,8 @@ jobs: 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 + 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 From ceb7cc27b32b0b502a832c8ad73b2d83923cd605 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 15 Jun 2023 22:19:02 +0200 Subject: [PATCH 21/31] Update azure-pipelines.yml --- azure-pipelines.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2195d1a3fd..793d83fffd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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 @@ -285,8 +285,9 @@ jobs: conan profile detect wget https://gist.githubusercontent.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/a33310fa761ebe9311a25330c94fe3b258ff5298/conanfile.py conan build . + dir ls -l lib - cmake --install + cmake --install %TEMP%/OBLAS # 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 From 36753165b6a9fd32a5b481beda6ed32a6157760a Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 17 Jun 2023 12:39:29 +0200 Subject: [PATCH 22/31] Update azure-pipelines.yml --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 793d83fffd..414d3b7f9a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -285,9 +285,9 @@ jobs: conan profile detect wget https://gist.githubusercontent.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/a33310fa761ebe9311a25330c94fe3b258ff5298/conanfile.py conan build . - dir + ls -l ls -l lib - cmake --install %TEMP%/OBLAS + cmake --install ~/openblas-ios # 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 From bf2d581e2ff1c183196f7b1184fae3a9d1b38be8 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 17 Jun 2023 14:59:26 +0200 Subject: [PATCH 23/31] Update azure-pipelines.yml --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 414d3b7f9a..a456cf6c2b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -285,6 +285,7 @@ jobs: conan profile detect wget https://gist.githubusercontent.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/a33310fa761ebe9311a25330c94fe3b258ff5298/conanfile.py conan build . + cd build ls -l ls -l lib cmake --install ~/openblas-ios From 03b88cb80fc89b2951ad2d6f18145887b6876ac8 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 17 Jun 2023 15:44:01 +0200 Subject: [PATCH 24/31] Update azure-pipelines.yml --- azure-pipelines.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a456cf6c2b..a831949e25 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -285,10 +285,12 @@ jobs: conan profile detect wget https://gist.githubusercontent.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/a33310fa761ebe9311a25330c94fe3b258ff5298/conanfile.py conan build . + cat cmake_install.cmake cd build ls -l ls -l lib - cmake --install ~/openblas-ios + cd .. + 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 From 4861fe51dec3acc329745ea2327d5726dfac2d75 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 19 Jun 2023 15:46:09 +0200 Subject: [PATCH 25/31] rework conan build again to ensure it uses xcode build files --- azure-pipelines.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a831949e25..6bfdede3a7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -283,13 +283,16 @@ jobs: brew update brew install conan conan profile detect - wget https://gist.githubusercontent.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/a33310fa761ebe9311a25330c94fe3b258ff5298/conanfile.py + wget https://gist.github.com/martin-frbg/dae99830b42cfc5bf4e805df211875e1/raw/b0a86e814165e920727ee8d7a758f7f6a3bf80eb/conanfile.py conan build . - cat cmake_install.cmake - cd build - ls -l - ls -l lib - cd .. + ls -l 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" + ls -l build + xcodebuild -project OpenBLAS.xcodeproj build -target ALL_BUILD -configuration RelWithDebInfo -hideShellScriptEnvironmen + ls -l build + ls -l build/lib 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" From 36d6154c56c3499cf3f74d67f4346e361443c1e7 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 19 Jun 2023 23:03:32 +0200 Subject: [PATCH 26/31] Update azure-pipelines.yml --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6bfdede3a7..c128bb31ba 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -288,9 +288,9 @@ jobs: ls -l 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" + -DONLY_CBLAS="1" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "s" ls -l build - xcodebuild -project OpenBLAS.xcodeproj build -target ALL_BUILD -configuration RelWithDebInfo -hideShellScriptEnvironmen + xcodebuild -project s.xcodeproj build -target ALL_BUILD -configuration RelWithDebInfo -hideShellScriptEnvironment ls -l build ls -l build/lib cmake --install build From c1c14d42cde8034498ec1cd07e6a1fe384ce4a64 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Tue, 20 Jun 2023 09:46:58 +0200 Subject: [PATCH 27/31] Update azure-pipelines.yml --- azure-pipelines.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c128bb31ba..635c7ec47f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -288,9 +288,10 @@ jobs: ls -l 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" "s" - ls -l build - xcodebuild -project s.xcodeproj build -target ALL_BUILD -configuration RelWithDebInfo -hideShellScriptEnvironment + -DONLY_CBLAS="1" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "OpenBLAS" + ls -l + ln -s . OpenBLAS + xcodebuild -project OpenBLAS.xcodeproj build -target ALL_BUILD -configuration RelWithDebInfo -hideShellScriptEnvironment ls -l build ls -l build/lib cmake --install build From 9f3ef6245d15fb113e3ef284fb44c2a07e292237 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Tue, 20 Jun 2023 10:55:35 +0200 Subject: [PATCH 28/31] Update azure-pipelines.yml --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 635c7ec47f..43db7fd8b1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -283,6 +283,7 @@ jobs: 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 @@ -290,7 +291,6 @@ jobs: -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 - ln -s . OpenBLAS xcodebuild -project OpenBLAS.xcodeproj build -target ALL_BUILD -configuration RelWithDebInfo -hideShellScriptEnvironment ls -l build ls -l build/lib From a73c38beb5b65b4373f0c60b86f6f0e28022bb91 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Tue, 20 Jun 2023 11:58:30 +0200 Subject: [PATCH 29/31] Update azure-pipelines.yml --- azure-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 43db7fd8b1..ae7f691490 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -287,6 +287,8 @@ jobs: 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 . 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" From cc40f3f2bd42e00c1f66c78b18790cf14ab83ccd Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Tue, 20 Jun 2023 13:49:56 +0200 Subject: [PATCH 30/31] Update azure-pipelines.yml --- azure-pipelines.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ae7f691490..9c98f0f4e1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -294,9 +294,8 @@ jobs: -DONLY_CBLAS="1" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "OpenBLAS" ls -l xcodebuild -project OpenBLAS.xcodeproj build -target ALL_BUILD -configuration RelWithDebInfo -hideShellScriptEnvironment - ls -l build - ls -l build/lib - cmake --install build + ls -lR build + cmake --install build/OpenBLAS.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 From 0441a495cd52ae31bcf8b18756948bba3c620906 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Tue, 20 Jun 2023 18:02:30 +0200 Subject: [PATCH 31/31] Update azure-pipelines.yml --- azure-pipelines.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9c98f0f4e1..fd3c026196 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -246,7 +246,7 @@ jobs: vmImage: 'macOS-11' steps: - script: | - brew updat + brew update brew install --cask android-ndk export ANDROID_NDK_HOME=/usr/local/share/android-ndk make TARGET=ARMV7 ONLY_CBLAS=1 CC=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/darwin-x86_64/bin/armv7a-linux-androideabi21-clang AR=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-ar HOSTCC=gcc ARM_SOFTFP_ABI=1 -j4 @@ -289,13 +289,15 @@ jobs: ls -l build ls -l build/generators cp build/generators/conan_toolchain.cmake . - cmake -G ""Xcode"" -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="OpenBLAS" -DNOFORTRAN="ON" -DBUILD_WITHOUT_LAPACK="ON" \ + 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/OpenBLAS.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