Skip to content

Commit

Permalink
Update opae rpm spec file (#1526)
Browse files Browse the repository at this point in the history
* update opae rpm spec file and tests cases repo

* undo test cases git repo

* Update opae.spec

* fix code review comments

* fix rpm build error

* fix mock user rpm issue

* fix docker build issue

* fix docker rpm

* Update docker_rpm.sh

* fix docker

Co-authored-by: lab <lab@psera2-dell24.ra.intel.com>
  • Loading branch information
anandaravuri and lab committed Apr 16, 2020
1 parent 415f4eb commit d5921e5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
6 changes: 3 additions & 3 deletions RELEASE_NOTES.md
Expand Up @@ -35,7 +35,7 @@ System Compatibility
--------------------

- Hardware: tightly coupled FPGA products and programmable FPGA acceleration cards for Intel(R) Xeon(R) processors:
- Intel(R) PAC with Arria(R) 10 GX FPGA (PCI ID: 0x09c4) FIM version 1.1.2-1 (1.2 Production)
Intel(R) PAC with Arria(R) 10 GX FPGA (PCI ID: 0x09c4) FIM version 1.1.2-1 (1.2 Production)
- Operating System: Tested on Fedora 31 with Linux Kernel 5.6


Expand All @@ -44,8 +44,8 @@ Major Changes from 1.4.0 to 1.4.1

- OPAE git repository layout changes

- The opae-sdk repository has been reorganized into five total repositories.
- The following table describes the repositories and how they are integrated into opae-sdk.
The opae-sdk repository has been reorganized into five total repositories.
The following table describes the repositories and how they are integrated into opae-sdk.

| Repository | Description | Integration |
| :--- | :----: | ---: |
Expand Down
11 changes: 10 additions & 1 deletion opae.spec
Expand Up @@ -13,6 +13,7 @@ Source0: https://github.com/OPAE/opae-sdk/releases/download/%{version}-1/

BuildRequires: gcc, gcc-c++
BuildRequires: cmake
BuildRequires: git
BuildRequires: python3-devel
BuildRequires: json-c-devel
BuildRequires: libuuid-devel
Expand Down Expand Up @@ -67,7 +68,7 @@ rm -rf _build
mkdir _build
cd _build

%cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DOPAE_BUILD_SPHINX_DOC=ON
%cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DOPAE_BUILD_SPHINX_DOC=ON -DOPAE_PRESERVE_REPOS=ON

%make_build opae-c \
bitstream \
Expand Down Expand Up @@ -191,6 +192,14 @@ DESTDIR=%{buildroot} cmake -DCOMPONENT=jsonschema -P cmake_install.cmake


%changelog
* Fri Apr 17 2020 Korde Nakul <nakul.korde@intel.com> 1.4.1-1
- OPAE git repository layout changes.
- Removed Safe String module dependency.
- Various bug fixes.
- Ported python tools to python3.6.
- Various Static code scan bug fixes.
- Removed pybind11 3rd component from OPAE source repository.

* Tue Dec 17 2019 Korde Nakul <nakul.korde@intel.com> 1.4.0-1
- Added support to FPGA Linux kernel Device Feature List (DFL) driver patch set2.
- Increased test cases and test coverage
Expand Down
3 changes: 3 additions & 0 deletions scripts/create-rpms.sh
Expand Up @@ -30,6 +30,9 @@ opae_sdk_tar="s/opae-sdk/opae-"
opae_sdk_tar+=${full_version}
opae_sdk_tar+="/"
echo ${opae_sdk_tar}
cd ../external
git clone -b release/1.4.1 https://github.com/OPAE/opae-test.git
git clone -b v2.4.3 https://github.com/pybind/pybind11.git

cd ../..
tar --transform=${opae_sdk_tar} \
Expand Down

0 comments on commit d5921e5

Please sign in to comment.