Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
529 commits
Select commit Hold shift + click to select a range
cbe8d54
Much better weight for ctx minim
msoos Jan 13, 2026
f9c1046
More const
msoos Jan 13, 2026
d809c2e
No need for this variable
msoos Jan 13, 2026
77c11cc
Update fix
msoos Jan 13, 2026
65caf77
Conceptually better now
msoos Jan 13, 2026
53c73f0
Better printing
msoos Jan 13, 2026
3ab5419
Cleanup
msoos Jan 13, 2026
53007cb
Much faster filtering
msoos Jan 13, 2026
f63b880
Allow writing manthan cnf
msoos Jan 13, 2026
c91b8f1
Oops, fixing option name
msoos Jan 13, 2026
ea75bb0
Less noise
msoos Jan 13, 2026
23584e7
Update for faster training
msoos Jan 13, 2026
8d95a6d
Somewhat faster learning
msoos Jan 14, 2026
6ab9f87
Less verbose printing
msoos Jan 14, 2026
e256be3
Better printing
msoos Jan 14, 2026
7d8e14b
Update
msoos Jan 14, 2026
9294534
Using normal SAT solver for CTX improvement
msoos Jan 14, 2026
a8e6d04
Actually, non-maxsat should be default
msoos Jan 14, 2026
2db6627
Better printing
msoos Jan 14, 2026
ee1f728
Update ccnr
msoos Jan 14, 2026
1bbc661
Removing autarky code
msoos Jan 14, 2026
1ef3a36
Update
msoos Jan 15, 2026
02c4426
Oops, seed was the same. Also, filter same input samples
msoos Jan 15, 2026
e6aa94b
Total mems for ccnr
msoos Jan 15, 2026
4b48556
Let's get some samples from ccnr, too
msoos Jan 15, 2026
8868ab0
Better printing
msoos Jan 15, 2026
f84de6b
Biased sampling is nonsense
msoos Jan 15, 2026
140fe6c
Fixing training
msoos Jan 15, 2026
c48f435
Increase min gain split
msoos Jan 15, 2026
6acacf5
Allow not having ctx repair
msoos Jan 15, 2026
48bd760
Ooops fixing ccnr import
msoos Jan 15, 2026
3974e19
Faster, less comments
msoos Jan 15, 2026
160279a
Better paper printing
msoos Jan 15, 2026
0a13d51
More options, and better parsing of them
msoos Jan 15, 2026
99dc8c5
Better printing
msoos Jan 15, 2026
8de3112
Adding back accidentally removed feature
msoos Jan 16, 2026
6058de3
Better synth
msoos Jan 16, 2026
82c4859
Better handle zero samples
msoos Jan 16, 2026
dbe09ff
More robust checking
msoos Jan 16, 2026
dbd9686
I think this was wrong, fixing
msoos Jan 16, 2026
62b6913
Better I think?
msoos Jan 16, 2026
6939e33
Cleaner code
msoos Jan 16, 2026
a31598e
Also print the AIG with the formula
msoos Jan 16, 2026
9476e5b
Fixing empty conflict, more printing
msoos Jan 16, 2026
5f09dd4
Actually better -- TODO: recompute y_hat values!
msoos Jan 16, 2026
555457a
This is actually correct now, but we need to recompute y_hats for CTX!
msoos Jan 16, 2026
c1657f6
Update TODOs
msoos Jan 16, 2026
ebba7e6
Better printing
msoos Jan 16, 2026
7a0c39f
Better, and more sane
msoos Jan 17, 2026
6b520e5
Better printing in var types
msoos Jan 17, 2026
7443ce1
Better printing
msoos Jan 17, 2026
588ae4b
allow turning off unique samples
msoos Jan 17, 2026
a52ea9c
Reorder options
msoos Jan 17, 2026
d496dab
More checking
msoos Jan 17, 2026
1c5adf8
Cleaner code
msoos Jan 17, 2026
19b84d8
Wow, during learning, we created functions NOT on y_hat, wow. Fixed!
msoos Jan 17, 2026
f0fdc34
Checking is more sane
msoos Jan 17, 2026
9e48a5a
Trying to hunt down this ctx y_hat bug
msoos Jan 17, 2026
df3107a
Cleaner printing
msoos Jan 17, 2026
610fc70
Update
msoos Jan 17, 2026
ae0533f
Cleanup
msoos Jan 17, 2026
63aab1b
Finally fixing repair
msoos Jan 17, 2026
e7d1183
Easier define adjustment
msoos Jan 17, 2026
4febd18
Just some cleanup
msoos Jan 17, 2026
4f8bcb6
Cleanup
msoos Jan 17, 2026
c6f9a98
Cleanup
msoos Jan 17, 2026
f58b9c4
Better printing
msoos Jan 17, 2026
c8076fc
Fixing bug
msoos Jan 17, 2026
41adc95
Not great fix
msoos Jan 17, 2026
5a6620f
Do the minim anyway
msoos Jan 17, 2026
b690d2c
More thorough fuzzing
msoos Jan 17, 2026
91f5401
Two flags now
msoos Jan 17, 2026
90b9d88
Update synth to synthmore
msoos Jan 17, 2026
ab18cf8
More options, more printing, always use frame pointer
msoos Jan 18, 2026
d4006fd
Some minimal cleanup
msoos Jan 18, 2026
5fa7681
Ooops, actually, we need infinite here
msoos Jan 19, 2026
57374c3
Calculate max depth, nicer code
msoos Jan 19, 2026
214861a
More lenient learning
msoos Jan 19, 2026
7955dbb
One more option
msoos Jan 19, 2026
3e0e0d7
Cleanup
msoos Jan 19, 2026
73355ff
Cleaner use of cnf/fcnf
msoos Jan 19, 2026
675a6c9
Nonsense, done
msoos Jan 19, 2026
7dbdaa6
Add option to disable BVE
msoos Jan 20, 2026
2b66887
Cleanup
msoos Jan 22, 2026
9e8ccb9
Move scripts around
msoos Jan 25, 2026
55a67cc
Add license check
msoos Jan 25, 2026
d1c3e89
Less warnings
msoos Jan 25, 2026
f6b8d32
More checking, less warnings
msoos Jan 25, 2026
0c771f1
Better unate
msoos Jan 25, 2026
912ae03
Cleanup
msoos Jan 25, 2026
cbf77e9
Much better printing
msoos Jan 25, 2026
ca4e718
Better printing
msoos Jan 25, 2026
8bc2e14
Better variable location
msoos Jan 25, 2026
e13b58f
Update get_data
msoos Jan 25, 2026
140d125
Update sqlite
msoos Jan 25, 2026
dc00b73
Moving on
msoos Jan 25, 2026
5b260b3
More thorough data
msoos Jan 25, 2026
6e47bc8
Update
msoos Jan 25, 2026
68e7a07
It's sql not sqlite
msoos Jan 26, 2026
cc5664d
Cleanup
msoos Jan 26, 2026
5db445a
Minor printing changes
msoos Jan 26, 2026
305ac43
Tune
msoos Jan 26, 2026
478116d
Rename
msoos Jan 26, 2026
9029418
Cleaner
msoos Jan 26, 2026
476ac19
Using metasolver to switch between CMS and CaDiCaL
msoos Jan 26, 2026
da92dff
Revert "Tune"
msoos Jan 26, 2026
137ad08
Add a note about what to try
msoos Jan 26, 2026
8d77af7
Also report on unknown
msoos Jan 26, 2026
5af8bad
Better printing
msoos Jan 26, 2026
301095b
Print first cex finding
msoos Jan 27, 2026
f3e82ab
BW defined is ALWAYS right, no need for assumps
msoos Jan 27, 2026
99ef011
Fixing printing
msoos Jan 27, 2026
8dcb419
Better printing
msoos Jan 27, 2026
ff6e2de
More timing printing
msoos Jan 27, 2026
c355fd4
Better verbosity, more examples
msoos Jan 27, 2026
9fdafed
More printing
msoos Jan 29, 2026
52a5700
Better printing
msoos Jan 29, 2026
e01b1b4
Cached Solver
msoos Jan 29, 2026
3325105
Use a cache for repair_solver
msoos Jan 29, 2026
4e7a4ce
Let's use cadical for ctx
msoos Jan 29, 2026
96a4965
Adding note
msoos Jan 29, 2026
f650819
Adjust cache and solver types
msoos Jan 29, 2026
3b7a484
Cleaner comment
msoos Jan 29, 2026
4153f67
Fixing printing
msoos Jan 30, 2026
3445452
Minor cleanup
msoos Jan 31, 2026
36c5959
Minor cleanup
msoos Jan 31, 2026
134477c
Fixing unate
msoos Jan 31, 2026
e71f60a
Turning on unate
msoos Jan 31, 2026
73fa158
Fuzz unate
msoos Jan 31, 2026
4478059
More fuzzing
msoos Jan 31, 2026
e056674
More sanity checking
msoos Feb 1, 2026
54bbc87
Fixing unate again
msoos Feb 1, 2026
a702484
This is the correct unate but it's not good
msoos Feb 1, 2026
4c832ec
Cleanup unate
msoos Feb 1, 2026
6d96ac5
No unate
msoos Feb 1, 2026
b5b9553
Add option to backward
msoos Feb 1, 2026
81e7b13
Samples 1000 is better
msoos Feb 1, 2026
1b1db5d
Fixing printing
msoos Feb 1, 2026
46d448f
Refactor train
msoos Feb 1, 2026
52ca85e
Add bve-and-substitute
msoos Feb 1, 2026
8f69da1
Cleaner
msoos Feb 1, 2026
8a1254b
BEtter printing
msoos Feb 1, 2026
c12106a
Fixing BVE in manthan
msoos Feb 1, 2026
343a716
More comments
msoos Feb 1, 2026
74ac152
OK, fixing input, and also one level of recursion
msoos Feb 1, 2026
00f4188
Allow deep substitution
msoos Feb 1, 2026
9fa1efc
Let's be cleaner when not deep, also simplify the AIG
msoos Feb 1, 2026
1b325b4
Fuzz MBVE too
msoos Feb 1, 2026
9702d8c
Optimize
msoos Feb 2, 2026
d00ea73
Add comment
msoos Feb 2, 2026
649f9e2
Adding BVE ordering
msoos Feb 2, 2026
0d1cc45
Update fuzz
msoos Feb 2, 2026
4328a4d
Better default config
msoos Feb 2, 2026
94146b3
Minor updates
msoos Feb 2, 2026
0e90a37
Cleanup python
msoos Feb 2, 2026
1e9daa4
Unate is broken
msoos Feb 2, 2026
c4527b8
One more simplification
msoos Feb 2, 2026
eadcf85
Add CSE for aigs
msoos Feb 2, 2026
48a9215
Print simplification results
msoos Feb 2, 2026
e625d54
This certainly works for simplify
msoos Feb 2, 2026
7fbf976
Making cse work
msoos Feb 2, 2026
df7e3f6
Normalize AIG
msoos Feb 2, 2026
a595a55
Only one simplify round
msoos Feb 2, 2026
fc3b0fa
Actually, let's simplify only once
msoos Feb 2, 2026
3a14f24
Fixing unate
msoos Feb 5, 2026
49a4550
Sampl set is ok here
msoos Feb 5, 2026
c675c1d
Better printing
msoos Feb 5, 2026
bad75fe
This should be correct now
msoos Feb 5, 2026
964ce0f
Fixing bug
msoos Feb 5, 2026
a6df054
More fuzz testing, better printing
msoos Feb 6, 2026
d276668
One more rule
msoos Feb 6, 2026
2baf902
Let's dual-simplify
msoos Feb 6, 2026
4ba5319
Some minor updates
msoos Feb 6, 2026
9deb068
Initial autarky
msoos Feb 6, 2026
a33718a
Initial autarky
msoos Feb 6, 2026
f937a3a
do-unate should be a flag in main
msoos Feb 6, 2026
decd5b5
Unate should only be in synth
msoos Feb 6, 2026
b1a6cc5
Bugs
msoos Feb 6, 2026
6b31659
Bug
msoos Feb 6, 2026
9219bb3
Fix bug
msoos Feb 6, 2026
36ce82c
Update text
msoos Feb 6, 2026
ffd630c
Bug
msoos Feb 6, 2026
bc25bc3
Update C++ standardc
msoos Feb 6, 2026
d1455cc
Sampling vars cannot be selected in autarkies
msoos Feb 6, 2026
1907a6e
Let's use metasolver, make cadical default
msoos Feb 6, 2026
d265b35
Cleaner, fix MegaSolver
msoos Feb 6, 2026
9af9972
Cleaner
msoos Feb 6, 2026
bca4a17
More comments
msoos Feb 6, 2026
4922e16
More autarkies
msoos Feb 7, 2026
54337a7
Autarky is now better
msoos Feb 7, 2026
9d623ad
Better printing
msoos Feb 7, 2026
2bde2c0
Fixing usage
msoos Feb 7, 2026
25f2f2b
Fixed finding autarkies
msoos Feb 7, 2026
e787af9
Comment
msoos Feb 7, 2026
68dca44
Better limit on autarkies
msoos Feb 7, 2026
8ac5b7e
Update parsing
msoos Feb 7, 2026
022e85d
Fix data crunch
msoos Feb 7, 2026
f4a047b
Update autarky printing
msoos Feb 7, 2026
ed68acc
Update
msoos Feb 7, 2026
de1db93
Better printing
msoos Feb 7, 2026
1d6669b
Print time for aig simp, double-simp
msoos Feb 7, 2026
cce3374
Better fuzz check system
msoos Feb 8, 2026
9c207fc
Better printing
msoos Feb 8, 2026
a02105a
Cleaner, better stats
msoos Feb 8, 2026
716ace1
Rename file
msoos Feb 8, 2026
e634efc
Typo, plus more robust parsing
msoos Feb 8, 2026
0e643d2
Better printing
msoos Feb 8, 2026
6853c12
It doesn't need to be a special order
msoos Feb 8, 2026
767a898
Less mem usage
msoos Feb 8, 2026
b519dab
Better comments
msoos Feb 8, 2026
3649407
Some cleanup regarding map vs vector for defs
msoos Feb 8, 2026
7596c03
Less mem usage
msoos Feb 8, 2026
720020a
Somewhat less memory usage
msoos Feb 8, 2026
ad9e3ab
More printing mem, better backw printing
msoos Feb 8, 2026
07af3cf
Smaller CNFs
msoos Feb 8, 2026
c6e3a3d
Fix bug
msoos Feb 8, 2026
188e5d9
Rename
msoos Feb 8, 2026
c91b507
Better naming, better tracking
msoos Feb 8, 2026
fca9bca
Quick check if we are done
msoos Feb 8, 2026
67384d9
MAybe better perf for aig here
msoos Feb 8, 2026
488177d
Much faster BVE-based function generation
msoos Feb 8, 2026
9a8d4bf
Speedup
msoos Feb 8, 2026
05b14f4
I think we can do this only on debug
msoos Feb 8, 2026
b6c5888
Fixing division by zero issues
msoos Feb 8, 2026
946f3d8
Cleanup
msoos Feb 9, 2026
bb1605e
Multi-try Manthan
msoos Feb 9, 2026
09a6187
Better printing
msoos Feb 9, 2026
3120708
Allow mult
msoos Feb 9, 2026
6bfa388
Better printing etc
msoos Feb 9, 2026
4ea5cbe
Adjust learn parameters
msoos Feb 10, 2026
ef1842b
Faster
msoos Feb 10, 2026
f4741af
Cleanup
msoos Feb 10, 2026
73fa264
This works, but AIG-based recompute is SLOW
msoos Feb 10, 2026
59aaa48
Faster debug
msoos Feb 10, 2026
258bf3b
Faster recompute of y_hat-s
msoos Feb 10, 2026
a7e4b4a
Allow repairing only one per loop
msoos Feb 10, 2026
4f6e312
Multi-strategy setup
msoos Feb 11, 2026
8e8f329
Add ideas
msoos Feb 11, 2026
6d1ca27
Adding primary graph-based order
msoos Feb 12, 2026
5256e53
Add TODO
msoos Feb 12, 2026
1221307
Fix todo
msoos Feb 12, 2026
abc8884
Update nix
msoos Feb 12, 2026
f723050
Adding possibility of changing floating point precision
msoos Feb 12, 2026
86714c6
Actually, make the precision explicit, always
msoos Feb 13, 2026
884483d
Update not to carry around precision
msoos Feb 13, 2026
31d7e99
USe mpfr_prec_t
msoos Feb 13, 2026
818d635
Fixing
msoos Feb 13, 2026
712b3b1
Fixing type again
msoos Feb 13, 2026
09fa89d
Update build.yml
msoos Feb 13, 2026
092f0c5
No more noise
msoos Feb 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 30 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: build
on:
pull_request:
branches: [ "*" ]
push:
branches: [ "master" ]

jobs:
build:
Expand Down Expand Up @@ -71,7 +73,7 @@ jobs:

- name: Install dependencies for Linux
if: contains(matrix.os, 'ubuntu')
run: sudo apt-get update && sudo apt-get install -yq help2man libgmp-dev libmpfr-dev
run: sudo apt-get update && sudo apt-get install -yq help2man libgmp-dev libmpfr-dev perl

- name: Checkout Cadical
uses: actions/checkout@v4
Expand Down Expand Up @@ -115,7 +117,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: msoos/cryptominisat
ref: master
ref: working-on-synth
path: cryptominisat
submodules: 'true'
- name: Build CMS
Expand Down Expand Up @@ -207,6 +209,21 @@ jobs:
sudo make install
cd ../..

- name: Checkout EvalMaxSAT
uses: actions/checkout@v4
with:
repository: meelgroup/EvalMaxSAT
ref: master
path: EvalMaxSAT
- name: Build EvalMaxSAT
run: |
cd EvalMaxSAT
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DSTATICCOMPILE=${{ matrix.staticcompile }} ..
cmake --build . --config ${{matrix.build_type}} -v
cd ../..

- uses: actions/checkout@v4
with:
path: project
Expand All @@ -233,6 +250,12 @@ jobs:
./project/build/arjun --help
echo $?

- name: Check licenses
if: contains(matrix.os, 'ubuntu')
run: |
echo "Checking licenses"
cd ../scripts/license_check
./check_all_licenses.sh

- name: Upload Artifact - Linux
if: contains(matrix.os, 'ubuntu') && matrix.staticcompile == 'ON' && !contains(matrix.os, 'arm')
Expand All @@ -241,6 +264,7 @@ jobs:
name: arjun-linux-amd64
path: |
project/build/arjun
project/build/test-synth
project/build/lib/*
project/build/include/*

Expand All @@ -251,16 +275,18 @@ jobs:
name: arjun-linux-arm64
path: |
project/build/arjun
project/build/test-synth
project/build/lib/*
project/build/include/*

- name: Upload Artifact - Mac arm
if: matrix.os == 'macos-14' && matrix.staticcompile == 'ON'
if: matrix.os == 'macos-15' && matrix.staticcompile == 'ON'
uses: actions/upload-artifact@v4
with:
name: arjun-mac-arm64
path: |
project/build/arjun
project/build/test-synth
project/build/lib/*
project/build/include/*

Expand All @@ -271,5 +297,6 @@ jobs:
name: arjun-mac-x86_64
path: |
project/build/arjun
project/build/test-synth
project/build/lib/*
project/build/include/*
2 changes: 2 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: nix build
on:
pull_request:
branches: [ "*" ]
push:
branches: [ "master" ]

jobs:
tests:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ neovide_backtraces.log
/.ccls-cache
CLAUDE.md
.claude
perf*
output
out/
7 changes: 7 additions & 0 deletions .vimsettings.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
autocmd Filetype h setlocal tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype hpp setlocal tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype c setlocal tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype cpp setlocal tabstop=2 shiftwidth=2 softtabstop=2
set shiftwidth=4
setlocal shiftwidth=4
nnoremap cc :e %:p:s,.h$,.X123X,:s,.cpp$,.h,:s,.X123X$,.cpp,<CR>
17 changes: 9 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ endforeach()
project (arjun)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
enable_language( CXX )
enable_language( C )
Expand Down Expand Up @@ -122,6 +123,7 @@ if (SYNTH)
PATHS ${CMAKE_CURRENT_SOURCE_DIR}/../cadical/build/
NAMES cadical
REQUIRED)
find_package(EvalMaxSAT REQUIRED)
endif()

macro(add_sanitize_option flagname)
Expand Down Expand Up @@ -193,13 +195,13 @@ endif()
if (NOT MSVC)
add_compile_options( -g)

add_compile_options("$<$<CONFIG:RelWithDebInfo>:-O3>")

add_compile_options("$<$<CONFIG:RelWithDebInfo>:-O2>")
add_compile_options("$<$<CONFIG:Release>:-O3>")
add_compile_options("$<$<CONFIG:Release>:-g0>")
add_compile_options("$<$<CONFIG:Release>:-DNDEBUG>")

add_compile_options("$<$<CONFIG:DEBUG>:-O0>")
add_compile_options("$<$<CONFIG:Debug>:-O0>")
add_compile_options("$<$<CONFIG:Debug>:-D_GLIBCXX_ASSERTIONS>")

else()
# see https://msdn.microsoft.com/en-us/library/fwkeyyhe.aspx for details
Expand All @@ -214,7 +216,7 @@ else()
add_compile_options("$<$<CONFIG:Release>:/NDEBUG>")
add_compile_options("$<$<CONFIG:Release>:/ZI>")

add_compile_options("$<$<CONFIG:DEBUG>:/Od>")
add_compile_options("$<$<CONFIG:Debug>:/Od>")

if (STATICCOMPILE)
# We statically link to reduce dependencies
Expand Down Expand Up @@ -280,6 +282,8 @@ if (NOT WIN32)
add_cxx_flag_if_supported("-msse4.2")
add_cxx_flag_if_supported("-mpopcnt")
add_cxx_flag_if_supported("-mpclmul")
add_cxx_flag_if_supported("-ggdb3")
add_cxx_flag_if_supported("-fno-omit-frame-pointer") # it's useful to have frame pointers for profiling, even in release builds
if (CMAKE_BUILD_TYPE STREQUAL "Release")
# add_cxx_flag_if_supported("-flto")
# add_link_flag_if_supported("-flto")
Expand All @@ -288,9 +292,6 @@ if (NOT WIN32)
add_cxx_flag_if_supported("-Wextra")
add_cxx_flag_if_supported("-Wunused")
add_cxx_flag_if_supported("-Wsign-compare")
add_cxx_flag_if_supported("-fno-omit-frame-pointer")
add_cxx_flag_if_supported("-g")
add_cxx_flag_if_supported("-ggdb3")
add_cxx_flag_if_supported("-Wtype-limits")
add_cxx_flag_if_supported("-Wuninitialized")
add_cxx_flag_if_supported("-Wno-deprecated")
Expand Down
8 changes: 0 additions & 8 deletions MANIFEST.in

This file was deleted.

2 changes: 1 addition & 1 deletion cmake/FindGMP.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include(FindPkgConfig)
find_package(PkgConfig)
pkg_check_modules(PC_GMP "gmp")

set(GMP_DEFINITIONS ${PC_GMP_CFLAGS_OTHER})
Expand Down
2 changes: 1 addition & 1 deletion cmake/FindMLPACK.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include(FindPkgConfig)
find_package(PkgConfig)
pkg_check_modules(PC_MLPACK "mlpack")

set(MLPACK_DEFINITIONS ${PC_MLPACK_CFLAGS_OTHER})
Expand Down
66 changes: 44 additions & 22 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@
inputs.nixpkgs.follows = "nixpkgs";
};
cryptominisat = {
url = "github:msoos/cryptominisat/master";
url = "github:msoos/cryptominisat/working-on-synth";
inputs.nixpkgs.follows = "nixpkgs";
};
sbva = {
url = "github:meelgroup/sbva/master";
inputs.nixpkgs.follows = "nixpkgs";
};
evalmaxsat = {
url = "github:meelgroup/EvalMaxSAT/master";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{
Expand All @@ -27,6 +31,7 @@
cadiback,
cryptominisat,
sbva,
evalmaxsat,
}:
let
inherit (nixpkgs) lib;
Expand Down Expand Up @@ -85,6 +90,7 @@
fetchFromGitHub,
cmake,
sbva,
evalmaxsat,
zlib,
gmp,
mpfr,
Expand Down Expand Up @@ -115,6 +121,7 @@
buildInputs = [
zlib
sbva
evalmaxsat
gmp
mpfr
cadiback
Expand All @@ -140,6 +147,7 @@
cadiback = cadiback.packages.${system}.cadiback;
cryptominisat5 = cryptominisat.packages.${system}.cryptominisat5;
sbva = sbva.packages.${system}.sbva;
evalmaxsat = evalmaxsat.packages.${system}.evalmaxsat;
};
in
{
Expand Down
Loading