Pārlūkot izejas kodu

[photoview] Fix building the api via linking blas

Colin Powell 3 gadi atpakaļ
vecāks
revīzija
119c699754
1 mainītis faili ar 9 papildinājumiem un 0 dzēšanām
  1. 9 0
      ansible/roles/photoview/tasks/main.yml

+ 9 - 0
ansible/roles/photoview/tasks/main.yml

@@ -50,6 +50,10 @@
   shell: "ln -s /usr/local/lib/libcblas* /usr/lib/"
   ignore_errors: true
 
+- name: Link openblas libraries
+  shell: "ln -s /usr/local/lib/libblas* /usr/lib/"
+  ignore_errors: true
+
 - name: Photoview source @ master
   git:
     repo: "https://github.com/photoview/photoview.git"
@@ -57,6 +61,11 @@
     update: yes
     force: yes
 
+- name: Hack libheif to work with FreeBSD
+  shell:
+    cmd: 'sed -i -e "/suberrorwrongtileimagepixeldepth = C.heif_suberror_Wrong_tile_image_pixel_depth/d"  /root/go/pkg/mod/github.com/strukturag/libheif@v1.12.0/go/heif/heif.go'
+    warn: false
+
 - name: API env file installed
   template:
     src: api.env.j2