@@ -24,11 +24,19 @@ cc_library(
24
24
],
25
25
)
26
26
27
+ # http_archive(
28
+ # name = "qsim",
29
+ # sha256 = "b9c1eba09a885a938b5e73dfc2e02f5231cf3b01d899415caa24769346a731d5",
30
+ # strip_prefix = "qsim-0.13.3",
31
+ # urls = ["https://github.com/quantumlib/qsim/archive/refs/tags/v0.13.3.zip"],
32
+ # )
33
+
34
+ # TODO: After merging this patch later into qsim mainstream, remove this and uncomment the above.
27
35
http_archive (
28
36
name = "qsim" ,
29
- sha256 = "b9c1eba09a885a938b5e73dfc2e02f5231cf3b01d899415caa24769346a731d5 " ,
30
- strip_prefix = "qsim-0.13.3 " ,
31
- urls = ["https://github.com/quantumlib /qsim/archive/refs/tags/v0.13.3.zip " ],
37
+ sha256 = "" ,
38
+ strip_prefix = "qsim-0.15.0-dev20230327_v3 " ,
39
+ urls = ["https://github.com/jaeyoo /qsim/archive/refs/tags/v0.15.0+dev20230327_v3.tar.gz " ],
32
40
)
33
41
34
42
http_archive (
73
81
actual = "@six_archive//:six" ,
74
82
)
75
83
84
+ new_local_repository (
85
+ name = "cuquantum_libs" ,
86
+ path = "/usr/local/google/home/jaeyoo/workspace/cuquantum-linux-x86_64-22.11.0.13-archive" ,
87
+ build_file_content = """
88
+ cc_library(
89
+ name = "custatevec_headers",
90
+ srcs = ["include/custatevec.h"],
91
+ visibility = ["//visibility:public"],
92
+ )
93
+
94
+ cc_library(
95
+ name = "custatevec",
96
+ srcs = ["lib/libcustatevec.so"],
97
+ visibility = ["//visibility:public"],
98
+ )
99
+ """ ,
100
+ )
101
+
0 commit comments