mirror of
https://github.com/samsapti/bachelor-project.git
synced 2024-11-22 12:57:56 +00:00
Fix cloning on subsequent runs
This commit is contained in:
parent
ed9d9284ef
commit
34b99a8adf
|
@ -28,15 +28,18 @@
|
||||||
dest: "{{ mp_spdz_dir }}"
|
dest: "{{ mp_spdz_dir }}"
|
||||||
version: v0.3.5
|
version: v0.3.5
|
||||||
clone: true
|
clone: true
|
||||||
update: true
|
update: false
|
||||||
recursive: true
|
recursive: true
|
||||||
|
single_branch: true
|
||||||
depth: 1
|
depth: 1
|
||||||
|
|
||||||
- name: Patch CONFIG
|
- name: Create CONFIG.mine
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.copy:
|
||||||
path: "{{ mp_spdz_dir }}/CONFIG"
|
dest: "{{ mp_spdz_dir }}/CONFIG.mine"
|
||||||
regexp: '^ARCH = -march=native$'
|
owner: "{{ username }}"
|
||||||
state: absent
|
mode: u=rw,g=r,o=r
|
||||||
|
content: |
|
||||||
|
ARCH = -mtune=native -msse4.1 -msse4.2 -maes -mpclmul -mavx -mavx2 -mbmi2 -madx
|
||||||
|
|
||||||
- name: Build MP-SPDZ
|
- name: Build MP-SPDZ
|
||||||
community.general.make:
|
community.general.make:
|
||||||
|
|
Loading…
Reference in a new issue