-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Use libblastrampoline to forward to a user-defined BLAS at runt…
…ime (#39455)
- Loading branch information
1 parent
95a34a9
commit dc81980
Showing
29 changed files
with
602 additions
and
477 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
## blastrampoline ## | ||
|
||
ifneq ($(USE_BINARYBUILDER_BLASTRAMPOLINE),1) | ||
|
||
BLASTRAMPOLINE_GIT_URL := git://github.com/staticfloat/libblastrampoline.git | ||
BLASTRAMPOLINE_TAR_URL = https://api.github.com/repos/staticfloat/libblastrampoline/tarball/$1 | ||
$(eval $(call git-external,blastrampoline,BLASTRAMPOLINE,,,$(BUILDDIR))) | ||
|
||
$(BUILDDIR)/$(BLASTRAMPOLINE_SRC_DIR)/build-configured: $(BUILDDIR)/$(BLASTRAMPOLINE_SRC_DIR)/source-extracted | ||
mkdir -p $(dir $@) | ||
echo 1 > $@ | ||
|
||
$(BUILDDIR)/$(BLASTRAMPOLINE_SRC_DIR)/build-compiled: $(BUILDDIR)/$(BLASTRAMPOLINE_SRC_DIR)/build-configured | ||
cd $(dir $@)/src && $(MAKE) $(MAKE_COMMON) | ||
echo 1 > $@ | ||
|
||
define BLASTRAMPOLINE_INSTALL | ||
$(MAKE) -C $(BUILDDIR)/$(BLASTRAMPOLINE_SRC_DIR)/src $(MAKE_COMMON) install | ||
endef | ||
$(eval $(call staged-install, \ | ||
blastrampoline,$(BLASTRAMPOLINE_SRC_DIR), \ | ||
BLASTRAMPOLINE_INSTALL,, \ | ||
$$(BLASTRAMPOLINE_OBJ_TARGET), \ | ||
$$(INSTALL_NAME_CMD)libblastrampoline.$$(SHLIB_EXT) $$(build_shlibdir)/libblastrampoline.$$(SHLIB_EXT))) | ||
|
||
get-blastrampoline: $(BLASTRAMPOLINE_SRC_FILE) | ||
extract-blastrampoline: $(BUILDDIR)/$(BLASTRAMPOLINE_SRC_DIR)/source-extracted | ||
configure-blastrampoline: extract-blastrampoline | ||
compile-blastrampoline: $(BUILDDIR)/$(BLASTRAMPOLINE_SRC_DIR)/build-compiled | ||
fastcheck-blastrampoline: check-blastrampoline | ||
check-blastrampoline: compile-blastrampoline | ||
|
||
else | ||
|
||
$(eval $(call bb-install,blastrampoline,BLASTRAMPOLINE,false)) | ||
|
||
endif # USE_BINARYBUILDER_BLASTRAMPOLINE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
BLASTRAMPOLINE_BRANCH=main | ||
BLASTRAMPOLINE_SHA1=45f4a20ffdba5d368db66d71885312f5f73c2dc7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
blastrampoline-45f4a20ffdba5d368db66d71885312f5f73c2dc7.tar.gz/md5/00f14fabf8f36a99f97dd42110b21dd5 | ||
blastrampoline-45f4a20ffdba5d368db66d71885312f5f73c2dc7.tar.gz/sha512/e72d14e35ca512e42cd44060c4ccc300df9b82a0e0aa03f85fea3651fc6cc235fc8c4270fe3c93a75a7af20f38e9fe59bcbbdba4c3d62cd747cca2214dfce256 | ||
libblastrampoline.v3.0.0+0.aarch64-apple-darwin.tar.gz/md5/82fecf5e70db5573e3389c5deccdf92c | ||
libblastrampoline.v3.0.0+0.aarch64-apple-darwin.tar.gz/sha512/559ace7a345ead6cafc52ff41748909c86abf75fe2ba272217d259fd2017f7237f675b9075320e31b37fd51d783577a8831744df286f39bd08f6748013d23a63 | ||
libblastrampoline.v3.0.0+0.aarch64-linux-gnu.tar.gz/md5/ea07fcd4b0923403e99420cfe882fa76 | ||
libblastrampoline.v3.0.0+0.aarch64-linux-gnu.tar.gz/sha512/098f67a9054a130d001e015f767113ace893caa8df28cfdb875d52eef36c252e512dd806d46b6dda625101edc613b55497462a1fd7351d907938f607f09ea1ed | ||
libblastrampoline.v3.0.0+0.aarch64-linux-musl.tar.gz/md5/ba3ac2cac82777429f30d445dd8e8138 | ||
libblastrampoline.v3.0.0+0.aarch64-linux-musl.tar.gz/sha512/b30842126adcd308e1b9254075a8cddf534124b6022a5bd6b39c622cb3480af05786d73d698c102b9aeb58045099457fd28a43a8fb1453c4fb1008fbca147cff | ||
libblastrampoline.v3.0.0+0.armv6l-linux-gnueabihf.tar.gz/md5/de3b0e86010239c794aa331d76f855c4 | ||
libblastrampoline.v3.0.0+0.armv6l-linux-gnueabihf.tar.gz/sha512/a94a33e076ce111d63832b6831e02582bf7982ea8866611c14d9d26d74881daa2d9df3ca2ccf01719ecf3f05564239a45fb9efebe34eb4b0dd340bce94617056 | ||
libblastrampoline.v3.0.0+0.armv6l-linux-musleabihf.tar.gz/md5/34c193f72ec4962ec5b4f724e43f46d8 | ||
libblastrampoline.v3.0.0+0.armv6l-linux-musleabihf.tar.gz/sha512/8ccba9921b6baa495c1f17689ad3c3a36042230d14100647dac260c907616f73e971578904a5b7d50b9e53698d65dc8660a2b4f46c41d7432acbf805a9293cea | ||
libblastrampoline.v3.0.0+0.armv7l-linux-gnueabihf.tar.gz/md5/81936b0e9ac1e741864d373dcf3a71a1 | ||
libblastrampoline.v3.0.0+0.armv7l-linux-gnueabihf.tar.gz/sha512/23b74f6efb223919d9ef16396c970ae8dab8c418032a82890cfb34a06c6493cddf8a26ec83c35225c06861aa42375055143fa317bbb0cff1febe745ea411092c | ||
libblastrampoline.v3.0.0+0.armv7l-linux-musleabihf.tar.gz/md5/6648bda00959b1b402d595611ded6335 | ||
libblastrampoline.v3.0.0+0.armv7l-linux-musleabihf.tar.gz/sha512/719b2d4772df813a5606c26f7dfd73b8ee72ab3d57cb978ad155cd23303a7e4e15446756243ced00da800013082ea12fdb6882f475db02d45e6a203e44ec4685 | ||
libblastrampoline.v3.0.0+0.i686-linux-gnu.tar.gz/md5/00a94da0c79ae709e0016aaf12772097 | ||
libblastrampoline.v3.0.0+0.i686-linux-gnu.tar.gz/sha512/8a99f8692362c832e7c90bb150c8c07ac9698b64cc352283d11251ebd16f59f66952967f6a48fcc5649f374b724421fadbcb3f48cee18e034b0450f55a3c8d7e | ||
libblastrampoline.v3.0.0+0.i686-linux-musl.tar.gz/md5/68d4c314fb2c71b089af553f6aa0cfa8 | ||
libblastrampoline.v3.0.0+0.i686-linux-musl.tar.gz/sha512/b1623b421a30169cdca496014b734b783600319bc93d426dc2f513de64b86fab9e0a649b6cc64a0f2d415643083cd0c7672ab64bf1064e8780e03a130e24ae20 | ||
libblastrampoline.v3.0.0+0.i686-w64-mingw32.tar.gz/md5/c4f075c445f0694fa0794972902db6e3 | ||
libblastrampoline.v3.0.0+0.i686-w64-mingw32.tar.gz/sha512/c6a37da8c7a44bb250ded247c98dbe20e43373e9f45c41c70060411666273e2d21ffffbb94d7e89f326f48a212c9df9c1d27b9abcc8bc1545409e09260438c15 | ||
libblastrampoline.v3.0.0+0.powerpc64le-linux-gnu.tar.gz/md5/01159456203e67912e4db9a3ffde81c4 | ||
libblastrampoline.v3.0.0+0.powerpc64le-linux-gnu.tar.gz/sha512/854edaf69df8d044a9994579e493732163a0d393e6a19e363568cc3682f9d9fbf6e63104710173603dc7687670d4a9164a554f6e1130791ce66072e303f4a3a7 | ||
libblastrampoline.v3.0.0+0.x86_64-apple-darwin.tar.gz/md5/80a6e19c518846246b6e3c4d5fd31be8 | ||
libblastrampoline.v3.0.0+0.x86_64-apple-darwin.tar.gz/sha512/f5c52f496fab2c9eb1812b5ffe587a2f018ed92e311ad263fb84080341badda1279e2748798070df8b412b087430bdee12d3dfbafda207eb6a17a71eb6cc22bd | ||
libblastrampoline.v3.0.0+0.x86_64-linux-gnu.tar.gz/md5/e7599dee593200c77114d0fee8783ecd | ||
libblastrampoline.v3.0.0+0.x86_64-linux-gnu.tar.gz/sha512/f3eb3b9517200eb39146bc361476f244aac1ad4b1ffa5757a8f2399ac7d88252862ac9550d727b0e392cd2715f1018c7cdf998d7afc2948ba7fe16a1c2a6ce4a | ||
libblastrampoline.v3.0.0+0.x86_64-linux-musl.tar.gz/md5/2f6eaf5684219ec985d3fe171f162d2f | ||
libblastrampoline.v3.0.0+0.x86_64-linux-musl.tar.gz/sha512/33336fc7b3844c9b4c30351cbfbd48042d4a085799ec61b74925ba2943639da3e476a5de128d431e62a82a0973615d42299619a9705e43ef2e4ea2ff963edf4d | ||
libblastrampoline.v3.0.0+0.x86_64-unknown-freebsd.tar.gz/md5/a9a52349cb509d75d91aa232b6005f66 | ||
libblastrampoline.v3.0.0+0.x86_64-unknown-freebsd.tar.gz/sha512/d2e57a6c7c7b0f08f0767c08b5e4e933eb78195b266377fbf9e95f3890a01654e4b97994fb7e575e2f48b821bad1b02c5fcdbafb6a6efda05622f124199e6ecc | ||
libblastrampoline.v3.0.0+0.x86_64-w64-mingw32.tar.gz/md5/dcc3af7f8bb050ed45d14464f710a013 | ||
libblastrampoline.v3.0.0+0.x86_64-w64-mingw32.tar.gz/sha512/0f95e4eac7e0cd6cb7e86b040574c9404d802f4a4c090e2d27f903ff445b0e5afb5e9dc0e463c56e6c0b296faceb66db66f0d68ce7e493ffd9373e696445178c |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.