Skip to content

Commit a6f8bfc

Browse files
committed
post-rebase generate/update CMakeLists.txt files, update tox file
* includes fix timespec redefinition errors on windows * updates tox argument syntax on macos Signed-off-by: Stephen L Arnold <[email protected]>
1 parent 37e91a3 commit a6f8bfc

File tree

7 files changed

+9
-5
lines changed

7 files changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
os: macOS-11
6868
compiler: xcode
6969
version: "12.4"
70-
toxcmd: "base Xcode"
70+
toxcmd: "base -- Xcode"
7171

7272
steps:
7373
- uses: actions/checkout@v2

src/aig/gia/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,14 @@ abc_libabc_add_sources(
8585
giaCSat3.c
8686
giaEra2.c
8787
giaIff.c
88+
giaTranStoch.c
8889
giaSpeedup.c
8990
giaAiger.c
9091
gia.c
9192
giaDfs.c
9293
giaShrink7.c
9394
giaMem.c
95+
giaTransduction.cpp
9496
giaSupMin.c
9597
giaStoch.c
9698
giaJf.c

src/aig/gia/giaTranStoch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
#ifdef ABC_USE_PTHREADS
3333

34-
#ifdef _WIN32
34+
#if (defined(_WIN32) && !defined(__MINGW32__))
3535
#include "../lib/pthread.h"
3636
#else
3737
#include <pthread.h>

src/base/abci/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ abc_libabc_add_sources(
33
SOURCES
44
abcFx.c
55
abcLutmin.c
6+
abcOrchestration.c
67
abcMap.c
78
abcExtract.c
89
abcBm.c

src/base/io/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ abc_libabc_add_sources(
1313
ioWriteVerilog.c
1414
ioReadPlaMo.c
1515
ioWritePla.c
16+
ioWriteEdgelist.c
1617
ioWriteBaf.c
1718
ioWriteBench.c
1819
ioReadEdif.c

src/proof/ssw/sswPart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
#ifdef ABC_USE_PTHREADS
2727

28-
#ifdef _WIN32
28+
#if (defined(_WIN32) && !defined(__MINGW32__))
2929
#include "../lib/pthread.h"
3030
#else
3131
#include <pthread.h>

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ commands =
7474
# eg: CC=gcc CXX=g++ tox -e demo
7575
demo: bash -c '$CC {posargs} -Wall -c src/demo.c -o demo.o'
7676
demo: bash -c '$CXX -o demo demo.o libabc.a -lm -ldl -lreadline -lpthread'
77-
demo: ./demo i10.aig
77+
demo: bash -c './demo i10.aig'
7878
{abc,soname,tests}: bash -c 'ls -lh *abc* demo || true'
7979
base: bash -c 'cmake -G {posargs:"Ninja"} -DABC_USE_NAMESPACE=$ABC_USE_NAMESPACE -DCMAKE_INSTALL_PREFIX=$PREFIX -S . -B build'
80-
base: cmake --build build --target install
80+
base: cmake -j $(nproc) --build build --target install
8181
build: bash -c 'cmake -G {posargs:"Unix Makefiles"} -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DABC_USE_NAMESPACE=$ABC_USE_NAMESPACE -DABC_ENABLE_LTO=ON -DBUILD_SHARED_LIBS=ON -DABC_USE_SONAME=$ABC_USE_SONAME -DCMAKE_INSTALL_PREFIX=$PREFIX ..'
8282
clang: bash -c 'cmake -G {posargs:"Unix Makefiles"} -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DABC_USE_NAMESPACE=$ABC_USE_NAMESPACE -DCOVERAGE_BUILD=ON -DBUILD_SHARED_LIBS=OFF ..'
8383
{build}: bash -c 'cmake --build . -j $(nproc)'

0 commit comments

Comments
 (0)