Update xgboost demo with bom file
This commit is contained in:
		
							parent
							
								
									8b2c99cafd
								
							
						
					
					
						commit
						c6dc8c807c
					
				| @ -28,9 +28,7 @@ occlum_workspace: $(BIN) $(DATA) | |||||||
| 	occlum init && \
 | 	occlum init && \
 | ||||||
| 	jq '.process.default_mmap_size = "96MB" | .resource_limits.max_num_of_threads = $(TCS_NUM)' Occlum.json > temp_Occlum.json && \
 | 	jq '.process.default_mmap_size = "96MB" | .resource_limits.max_num_of_threads = $(TCS_NUM)' Occlum.json > temp_Occlum.json && \
 | ||||||
| 	mv temp_Occlum.json Occlum.json && \
 | 	mv temp_Occlum.json Occlum.json && \
 | ||||||
| 	cp ../$(BIN) image/bin && \
 | 	copy_bom -f ../xgboost.yaml --root image --include-dir /opt/occlum/etc/template && \
 | ||||||
| 	cp ../xgboost_src/lib/libxgboost.so image/lib && \
 |  | ||||||
| 	cp -r ../$(DATA) image && \
 |  | ||||||
| 	occlum build | 	occlum build | ||||||
| 
 | 
 | ||||||
| test: occlum_workspace | test: occlum_workspace | ||||||
|  | |||||||
							
								
								
									
										11
									
								
								demos/xgboost/xgboost.yaml
									
									
									
									
									
										Normal file
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										11
									
								
								demos/xgboost/xgboost.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | |||||||
|  | includes: | ||||||
|  |   - base.yaml | ||||||
|  | targets: | ||||||
|  |   - target: /bin | ||||||
|  |     copy: | ||||||
|  |       - files: | ||||||
|  |         - ../xgboost | ||||||
|  |   - target: / | ||||||
|  |     copy: | ||||||
|  |       - dirs: | ||||||
|  |         - ../data | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user