Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
c339c6f7
Commit
c339c6f7
authored
Mar 10, 2018
by
Baruch Sterin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Continuos integration support of both Travis CI (Linux and macOS) and Appveyor (Windows)
parent
3d16d44c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
1 deletions
+69
-1
.appveyor.yml
+39
-0
.travis.yml
+26
-0
readme.md
+4
-1
No files found.
.appveyor.yml
0 → 100644
View file @
c339c6f7
version
:
'
{build}'
environment
:
matrix
:
-
APPVEYOR_BUILD_WORKER_IMAGE
:
"
Visual
Studio
2017"
VCVARS_SCRIPT
:
"
C:
\\
Program
Files
(x86)
\\
Microsoft
Visual
Studio
\\
2017
\\
Community
\\
VC
\\
Auxiliary
\\
Build
\\
vcvarsall.bat"
VCVARS_PLATFORM
:
x86
init
:
-
cmd
:
'
"%VCVARS_SCRIPT%"
%VCVARS_PLATFORM%'
build_script
:
-
cmd
:
|
sed -i 's#ABC_USE_PTHREADS"#ABC_DONT_USE_PTHREADS" /D "_XKEYCHECK_H"#g' *.dsp
awk 'BEGIN { del=0; } /# Begin Group "uap"/ { del=1; } /# End Group/ { if( del > 0 ) {del=0; next;} } del==0 {print;} ' abclib.dsp > tmp.dsp
copy tmp.dsp abclib.dsp
del tmp.dsp
unix2dos *.dsp
-
cmd
:
|
appveyor PushArtifact abcspace.dsw
appveyor PushArtifact abclib.dsp
appveyor PushArtifact abcexe.dsp
-
cmd
:
|
devenv abcspace.dsw /upgrade || dir
appveyor PushArtifact UpgradeLog.htm
msbuild abcspace.sln /m /nologo /p:Configuration=Release
-
cmd
:
|
_TEST\abc.exe -c "r i10.aig; b; ps; b; rw -l; rw -lz; b; rw -lz; b; ps; cec"
-
cmd
:
|
appveyor PushArtifact _TEST/abc.exe
.travis.yml
0 → 100644
View file @
c339c6f7
language
:
cpp
matrix
:
include
:
-
os
:
linux
addons
:
apt
:
packages
:
-
libreadline-dev
-
os
:
osx
osx_image
:
xcode8
before_install
:
-
brew update
-
brew install readline
script
:
-
make -j2 abc
-
./abc -c "r i10.aig; b; ps; b; rw -l; rw -lz; b; rw -lz; b; ps; cec"
-
make libabc.a
-
gcc -Wall -c src/demo.c -o demo.o
-
g++ -o demo demo.o libabc.a -lm -ldl -lreadline -lpthread
-
./demo i10.aig
readme.md
View file @
c339c6f7
[
![Build Status
](
https://travis-ci.org/berkeley-abc/abc.svg?branch=master
)
](https://travis-ci.org/berkeley-abc/abc)
[
![Build status
](
https://ci.appveyor.com/api/projects/status/7q8gopidgvyos00d?svg=true
)
](https://ci.appveyor.com/project/berkeley-abc/abc)
# ABC: System for Sequential Logic Synthesis and Formal Verification
ABC is always changing but the current snapshot is believed to be stable.
...
...
@@ -17,7 +20,7 @@ To build the demo program
*
Copy demo.cc and libabc.a to the working directory
*
Run
`gcc -Wall -g -c demo.c -o demo.o`
*
Run
`g
cc -g -o demo demo.o libabc.a -lm -ldl -rdynamic -lreadline -ltermcap
-lpthread`
*
Run
`g
++ -g -o demo demo.o libabc.a -lm -ldl -lreadline
-lpthread`
To run the demo program, give it a file with the logic network in AIGER or BLIF. For example:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment