Skip to content

Commit

Permalink
Exclude reference targets
Browse files Browse the repository at this point in the history
  • Loading branch information
konsolebox committed May 16, 2024
1 parent 1f4fed9 commit f259a44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ This gem can be configured to compile differently based on the target specified.

The current target implementations are `armv6`, `armv6m`, `armv7a`, `armv7m`,
`armv8a`, `avr8`, `avx`, `avx2`, `avx2noasm`, `avx512`, `avx512noasm`,
`compact`, `generic32`, `generic32lc`, `generic64`, `generic64lc`, `reference`,
`reference32bits`, `ssse3`, and `xop`, with `compact` being the default target.
`compact`, `generic32`, `generic32lc`, `generic64`, `generic64lc`, `ssse3`, and
`xop`, with `compact` being the default target.

Details on what architectures these targets support are provided in the
[README.markdown](https://github.com/XKCP/XKCP/blob/master/README.markdown) file
Expand Down
2 changes: 1 addition & 1 deletion rakelib/import-xkcp-files.rake
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private
end

targets = build_data['group'].find{ |e| (e['@all'] rescue nil) == "XKCP" }['product']['factor']
.find{ |e| e['@set'] =~ /reference/ }['@set'].split(' ')
.find{ |e| e['@set'] =~ /reference/ }['@set'].split(' ').reject(&/reference/.method(:match?))

raise "Targets have similar names." unless targets.size == targets.map(&:downcase).uniq.size

Expand Down

0 comments on commit f259a44

Please sign in to comment.