@@ -71,7 +71,7 @@ def generate_java_files(workspace_dir, project_dir):
7171
7272 # 4. Clone repository
7373 repo_url = "https://github.com/apache/datasketches-java.git"
74- branch = "9.0.0" # FIXME: temporarily use fixed branch until mvn issue is resolved
74+ branch = "9.0.0"
7575 run_command ([
7676 "git" , "clone" ,
7777 "--depth" , "1" ,
@@ -133,21 +133,15 @@ def generate_cpp_files(workspace_dir, project_root):
133133
134134 # 4. Clone repository
135135 repo_url = "https://github.com/apache/datasketches-cpp.git"
136- branch = "master"
137- # Temporary e2e checkout for apache/datasketches-cpp#505. After that PR is
138- # merged, pin this to the merged master commit and remove the extra fetch.
139- commit = "af4436280bdab53e0063268e92ff29b3fdcb1b07"
140- fetch_ref = "refs/pull/505/head"
136+ commit = "401423367055acdf7502e8ed3126730a08039d91"
141137 run_command ([
142138 "git" , "clone" ,
143139 "--depth" , "1" ,
144- "--branch " , branch ,
140+ "--revision " , commit ,
145141 "--single-branch" ,
146142 repo_url ,
147143 str (temp_dir )
148144 ])
149- run_command (["git" , "fetch" , "--depth" , "1" , "origin" , fetch_ref ], cwd = temp_dir )
150- run_command (["git" , "checkout" , "--detach" , commit ], cwd = temp_dir )
151145
152146 # 5. Build and Run CMake
153147 build_dir = temp_dir / "build"
@@ -173,14 +167,14 @@ def generate_cpp_files(workspace_dir, project_root):
173167
174168 files_copied = 0
175169
176- for pattern in ("*_cpp.sk" , "count_min-*.bin " ):
177- for file_path in build_dir . rglob ( pattern ):
178- shutil . copy2 ( file_path , output_dir )
179- print ( f"Copied: { file_path . name } " )
180- files_copied += 1
170+ for file_path in build_dir . rglob ("*_cpp.sk" ):
171+ shutil . copy2 ( file_path , output_dir )
172+ print ( f"Copied: { file_path . name } " )
173+ files_copied += 1
174+
181175
182176 if files_copied == 0 :
183- print ("Warning: No C++ serialization snapshots were found to copy." )
177+ print ("Warning: No *_cpp.sk files were found to copy." )
184178 else :
185179 print (f"Successfully copied { files_copied } files." )
186180
0 commit comments