Skip to content

Commit

Permalink
chore: add submodule for hwsl2-core
Browse files Browse the repository at this point in the history
  • Loading branch information
srijs committed Jul 8, 2015
1 parent a59f0d2 commit 021f420
Show file tree
Hide file tree
Showing 17 changed files with 8 additions and 1,930 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "src/core"]
path = src/core
url = https://github.com/srijs/hwsl2-core
8 changes: 4 additions & 4 deletions hwsl2.cabal
Expand Up @@ -61,7 +61,7 @@ build-type: Simple
-- Extra files to be distributed with the package, such as examples or a
-- README.
extra-source-files: README.md
src/sl2-inl.h src/gf2p127-inl.h
src/core/sl2-inl.h src/core/gf2p127-inl.h

-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.10
Expand Down Expand Up @@ -92,7 +92,7 @@ library
ghc-options: -fwarn-unused-imports

-- Options for foreign source files.
include-dirs: src
include-dirs: src/core
if flag(avx2)
cc-options: -Wall -O3 -mavx2 -msse4.1 -msse2 -mpclmul
ghc-options: -O3 -optc-mavx2 -optc-msse4.1 -msse2 -optc-mpclmul
Expand All @@ -118,7 +118,7 @@ test-suite test
QuickCheck >=2.7 && <2.8,
quickcheck-properties>=0.1 && <0.2,
cabal-test-quickcheck>=0.1 && <0.2
include-dirs: src
include-dirs: src/core
if flag(avx2)
cc-options: -Wall -O3 -mavx2 -msse4.1 -msse2 -mpclmul
ghc-options: -O3 -optc-mavx2 -optc-msse4.1 -msse2 -optc-mpclmul
Expand All @@ -140,7 +140,7 @@ benchmark bench
criterion >=1.0 && <1.1,
cryptohash >=0.11 && <0.12,
parallel >=3.2 && <3.3
include-dirs: src
include-dirs: src/core
if flag(avx2)
cc-options: -Wall -O3 -mavx2 -msse4.1 -msse2 -mpclmul
ghc-options: -rtsopts -threaded -O3 -optc-mavx2 -optc-msse4.1 -msse2 -optc-mpclmul
Expand Down
31 changes: 0 additions & 31 deletions src/Makefile

This file was deleted.

47 changes: 0 additions & 47 deletions src/bench/sl2.c

This file was deleted.

39 changes: 0 additions & 39 deletions src/calc.py

This file was deleted.

1 change: 1 addition & 0 deletions src/core
Submodule core added at 3ca890
138 changes: 0 additions & 138 deletions src/gf2p127-inl.h

This file was deleted.

4 changes: 0 additions & 4 deletions src/java/Makefile

This file was deleted.

73 changes: 0 additions & 73 deletions src/java/hwsl2/HWSL2.java

This file was deleted.

0 comments on commit 021f420

Please sign in to comment.