ZenGo-X / class

Rust library for building IQC: cryptography based on class groups of imaginary quadratic orders
GNU General Public License v3.0
63 stars 31 forks source link

Install PARI in OUT_DIR and statically link to it #33

Closed LLFourn closed 4 years ago

LLFourn commented 4 years ago
omershlo commented 4 years ago

Brilliant !

Before merging - lets say there is new PARI version. What are the steps required to update?

LLFourn commented 4 years ago

I'd say this is the best way to go about it:

  1. comment out lines under pari/ in .gitignore
  2. replace pari directory with new pari version and stage pari/ directory.
  3. cargo build
  4. add lines back to .gitignore as needed to ignore all the pari build artefacts until workspace is clean
  5. commit new pari/ directory and .gitignore.